oddsapiR
0.0.3Access Live Sports Odds from the Odds API
0packages depend
9.4Kdownloads / year
43.6%test coverage
13/13checks pass
Overview
About
A utility to quickly obtain clean and tidy sports odds from The Odds API https://the-odds-api.com.
Install
Health
CRAN checks
13OK
Slowest check: 1.7 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.10
43.6%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 137 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
- Examples that run
- 0%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
9.4K
CRAN downloads in the past year
Rank #4,663 · ~26/day · ~780/mo
Daily download trend is not available in this view yet.
43030 days
2K90 days
9.4K1 year
Also on97 r2u11 autocran20 c2d4u
Repository
Repository
9Stars
5Forks
1Open issues
0Open PRs
1Releases
42Commits
1Contributors
bettingbetting-oddssports-oddssportsdataverse
42 commits · Last activity 2026-06-24 · 0% stars, 30d
Stars over time
2024-11-25 · 62026-07-07 · 9
Forks over time
2025-06-16 · 32026-07-07 · 4
Releases over time
2023-03-19 · 12026-07-07 · 1
Issues over time
2023-11-10 · 12026-07-07 · 1
Repository practices
Upstream repositoryBeta
8 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/sportsdataverse/oddsapir on 2026-07-19.
Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Governance and community (2)
Issue templatesPR template
Git structural (1)
.gitattributes
Dependencies
Declared dependencies
31 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Suggests (21)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Code Composition
R 954 (63%)Rd 571 (37%)
Code characteristics
Object systems
S31
- Cyclomatic complexity
- 1.0 median / 5 max
- Test cases
- 4 / 0.10 per code line
- System requirements
- 2 external
Test coverage
Line coverage
44%
Expression
33.3%
Tests / Examples
43.6% / – ex
Functions
27 9 exported
Complexity
1.6 avg / 5 max
Call network
27 nodes / 23 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
27 functions| Function | Cyclo | Coverage |
|---|---|---|
| check_toa_key exp | 2 | 0% |
| has_toa_key exp | 1 | 0% |
| toa_event_odds exp | 1 | 0% |
| toa_sports_odds_history exp | 1 | 0% |
| %c% | 1 | 0% |
| check_status | 2 | 0% |
Datasets
Bundled datasets · 1
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| toa_sports_keys | oddsapiR_data/tbl_df/tbl/data.table/data.frame | 77 × 5 | – |
People & History
Package Timeline
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.0.3Latest
- 0.0.22023-01-05 · diff ↗
- 0.0.12022-06-22
- RR 4.2.0 released · 2022-04-22
0 of 2 selectedCompare selected
Package metadata
- First published
- 2022-06-22
- Total releases
- 3 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Bundled data
- 2.2 KB / 1 file
- Download size
- 16 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Appears in task views