Skip to content

hoopR

3.0.0

Access Men's Basketball Play by Play Data

0packages depend
22.3Kdownloads / year
4.3%test coverage
13/13checks pass

Overview

About
Maintained by Saiem GilaniFirst published 2021-11-104 releasesCRAN page ↗GitHub ↗

A utility to quickly obtain clean and tidy men's basketball play by play data. Provides functions to access live play by play and box score data from ESPNhttps://www.espn.com with shot locations when available. It is also a full NBA Stats APIhttps://www.nba.com/stats/ wrapper. It is also a scraping and aggregating interface for Ken Pomeroy's men's college basketball statistics websitehttps://kenpom.com. It provides users with an active subscription the capability to scrape the website tables and analyze the data for themselves.

Install

Health

CRAN checks
13OK
Slowest check: 6.2 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.43
4.3%
Coverage · measured lines
100%
Documentation · exports
18
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 323 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
6%
Documented parameters
96%
Return-value docs
98%
References docs
0%

Downloads

22.3K
CRAN downloads in the past year
Rank #3,172 · ~61/day · ~1.9K/mo
Daily download trend is not available in this view yet.
97130 days
3.7K90 days
22.3K1 year
Compare downloads with other packages →
Also on281 r2u15 autocran30 c2d4u

Repository

Repository
143Stars
25Forks
57Open issues
3Open PRs
20Releases
690Commits
23Contributors
basketballcollege-basketballkenpomnbanba-statsnba-analyticsnba-statisticsnba-data
690 commits · Last activity 2026-08-06 · +3.6% stars, 30d

Stars over time

2026-07-14 · 1382026-08-07 · 143

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/sportsdataverse/hoopr on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Governance and community (2)
Issue templatesPR template
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (4)
Contributor · added in 2.1.0
Contributor · added in 1.8.0
Contributor · added in 1.8.0
Contributor · added in 2.1.0
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 3.0.0Latest
    2026-03-24 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.1.0
    2023-11-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.8.0
    2022-06-18 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.5.0
    2021-11-10
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-11-10
Total releases
4 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
17 KB / 1 file
Download size
409 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hoopR")
Gilani, S., Drucker, R., Fryer, B., Lee, J., & Shufinskiy, V. (2026). hoopR: Access Men's Basketball Play by Play Data (Version 3.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.hoopR

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for hoopR version 3.0.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy