cfbfastr
An R package to quickly obtain clean and tidy college football play by play data
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Keywords
cfb-data
college-football
college-football-players
collegefootballdata-api
espn
football
football-api
football-data
football-scores
footballdata
ncaaf
r
rstats
sports
sports-analytics
sports-betting
sports-data
sports-stats
sportsanalytics
sportsdataverse
Keywords from Contributors
fantasy-football
Last synced: 6 months ago
·
JSON representation
Repository
An R package to quickly obtain clean and tidy college football play by play data
Basic Info
- Host: GitHub
- Owner: sportsdataverse
- License: other
- Language: R
- Default Branch: main
- Homepage: https://cfbfastR.sportsdataverse.org
- Size: 101 MB
Statistics
- Stars: 85
- Watchers: 6
- Forks: 11
- Open Issues: 6
- Releases: 10
Topics
cfb-data
college-football
college-football-players
collegefootballdata-api
espn
football
football-api
football-data
football-scores
footballdata
ncaaf
r
rstats
sports
sports-analytics
sports-betting
sports-data
sports-stats
sportsanalytics
sportsdataverse
Created almost 5 years ago
· Last pushed 6 months ago
Metadata Files
Readme
Changelog
License
README.Rmd
--- output: github_document --- # # **cfbfastR**```{r, include = FALSE} require(knitr) if (!requireNamespace('remotes')){ install.packages('remotes', repos = "https://cloud.r-project.org") } install.packages(c("magick", "grid", "dplyr", "lubridate"), repos = "https://cloud.r-project.org") ``` [](https://CRAN.R-project.org/package=cfbfastR) [](https://CRAN.R-project.org/package=cfbfastR) [](https://github.com/sportsdataverse/cfbfastR/) [](https://github.com/sportsdataverse/cfbfastR/actions/workflows/R-CMD-check.yaml) [](https://github.com/sportsdataverse/cfbfastR/) [](https://github.com/sportsdataverse/cfbfastR/graphs/contributors) [](https://x.com/cfbfastR) [](https://x.com/SportsDataverse) The goal of [**```cfbfastR```**](https://cfbfastR.sportsdataverse.org/) is to provide the community with an R package for working with CFB data. It is an R API wrapper around [https://collegefootballdata.com/](https://collegefootballdata.com/). Beyond data aggregation and tidying ease, one of the multitude of services that [**```cfbfastR```**](https://cfbfastR.sportsdataverse.org/) provides is for benchmarking open-source expected points and win probability metrics. ## **Installation** You can install the CRAN version of [**```cfbfastR```** ](https://CRAN.R-project.org/package=cfbfastR) with: ```r install.packages("cfbfastR") ``` You can install the released version of [**```cfbfastR```**](https://github.com/sportsdataverse/cfbfastR/) from [GitHub](https://github.com/sportsdataverse/cfbfastR) with: ```r # You can install using the pacman package using the following code: if (!requireNamespace('remotes', quietly = TRUE)){ install.packages('remotes', repos = "https://cloud.r-project.org") } remotes::install_github("sportsdataverse/cfbfastR") ``` ## **Breaking Changes** [**Full News on Releases**](https://cfbfastR.sportsdataverse.org/news/index.html) #### **College Football Data API Keys** The [CollegeFootballData API](https://collegefootballdata.com/) now requires an API key, here's a quick run-down: * To get an API key, follow the directions here: [College Football Data Key Registration.](https://collegefootballdata.com/key) * Using the key: You can save the key for consistent usage by adding `CFBD_API_KEY=YOUR-API-KEY-HERE` to your .Renviron file (easily accessed via [**`usethis::edit_r_environ()`**](https://usethis.r-lib.org/reference/edit.html)). Run [**`usethis::edit_r_environ()`**](https://usethis.r-lib.org/reference/edit.html), a new script will pop open named `.Renviron`, **THEN** paste the following in the new script that pops up (with**out** quotations) ```r CFBD_API_KEY = YOUR-API-KEY-HERE ``` Save the script and restart your RStudio session, by clicking `Session` (in between `Plots` and `Build`) and click `Restart R` (there also exists the shortcut `Ctrl + Shift + F10` to restart your session). If set correctly, from then on you should be able to use any of the `cfbd_` functions without any other changes. * For less consistent usage: At the beginning of every session or within an R environment, save your API key as the environment variable `CFBD_API_KEY` (with quotations) using a command like the following. ```{r} Sys.setenv(CFBD_API_KEY = "YOUR-API-KEY-HERE") ``` ## Follow [cfbfastR](https://x.com/cfbfastR) and the [SportsDataverse](https://x.com/SportsDataverse) on Twitter and star this repo [](https://x.com/cfbfastR) [](https://x.com/SportsDataverse) [](https://github.com/sportsdataverse/cfbfastR/stargazers/) ## **Our Authors** - [Saiem Gilani](https://x.com/saiemgilani)
![]()
- [Akshay Easwaran](https://x.com/akeaswaran)
![]()
- [Jared Lee](https://x.com/JaredDLee)
![]()
- [Eric Hess](https://x.com/arbitanalytics)
![]()
# **Our Contributors (they're awesome)** - [Nate Manzo](https://x.com/cfbnate)
![]()
- [Michael Egle](https://x.com/deceptivespeed_)
![]()
- [Jason DeLoach](https://x.com/CFBNumbers)
![]()
- [Tej Seth](https://x.com/tejfbanalytics)
![]()
- [Conor McQuiston](https://x.com/ConorMcQ5)
![]()
- [Tan Ho](https://x.com/_TanHo)
![]()
- [Keegan Abdoo](https://x.com/KeeganAbdoo)
![]()
- [Matt Spencer](https://x.com/Maatspencer)
![]()
- [Sebastian Carl](https://x.com/mrcaseb)
![]()
- [John Edwards](https://x.com/John_B_Edwards)
![]()
- [Brad Hill](https://x.com/bradisblogging)
![]()
# **Authors Emeritus - `cfbscrapR`[archived]** - [Meyappan Subbiah](https://x.com/msubbaiah1)
![]()
- [Parker Fleming](https://x.com/statsowar)
![]()
# **Special Thanks** - [Nick Tice](https://github.com/NickTice) ## **Citations** To cite the [**`cfbfastR`**](https://cfbfastR.sportsdataverse.org/) R package in publications, use: BibTex Citation ```bibtex @misc{gilani_et_al_2021_cfbfastr, author = {Saiem Gilani and Akshay Easwaran and Jared Lee and Eric Hess}, title = {cfbfastR: The SportsDataverse's R Package for College Football Data.}, url = {https://cfbfastR.sportsdataverse.org/}, year = {2021} } ```
Owner
- Name: SportsDataverse
- Login: sportsdataverse
- Kind: organization
- Email: sportsdataverse@gmail.com
- Website: https://sportsdataverse.org
- Twitter: sportsdataverse
- Repositories: 26
- Profile: https://github.com/sportsdataverse
GitHub Events
Total
- Issues event: 4
- Watch event: 8
- Delete event: 1
- Issue comment event: 22
- Push event: 54
- Pull request event: 10
- Pull request review comment event: 100
- Pull request review event: 70
- Create event: 3
Last Year
- Issues event: 4
- Watch event: 8
- Delete event: 1
- Issue comment event: 22
- Push event: 54
- Pull request event: 10
- Pull request review comment event: 100
- Pull request review event: 70
- Create event: 3
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Saiem Gilani | s****i@g****m | 241 |
| mcqconor | c****n@g****m | 11 |
| Jared Lee | 6****6 | 10 |
| Akshay Easwaran | a****n | 7 |
| mrcaseb | r****e@g****m | 4 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| runner | r****r@M****l | 1 |
| Tan Ho | 3****3 | 1 |
| Matt Spencer | m****r@g****m | 1 |
| Keegan Abdoo | k****o@g****m | 1 |
| soricinae | s****e@g****m | 1 |
| Geoffrey Grosenbach | 2****y | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 36
- Total pull requests: 80
- Average time to close issues: 2 months
- Average time to close pull requests: 11 days
- Total issue authors: 27
- Total pull request authors: 11
- Average comments per issue: 1.81
- Average comments per pull request: 0.84
- Merged pull requests: 74
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 2
- Pull requests: 9
- Average time to close issues: N/A
- Average time to close pull requests: 1 day
- Issue authors: 2
- Pull request authors: 3
- Average comments per issue: 0.0
- Average comments per pull request: 2.67
- Merged pull requests: 8
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- maatspencer (3)
- john-b-edwards (2)
- rchanks (2)
- saiemgilani (2)
- JerrickBackous (2)
- TJLSmith0831 (2)
- rebinion (2)
- aaronmorrisNC (2)
- rcpiv (1)
- titaniumtroop (1)
- Colinifer (1)
- jacole3 (1)
- avkrishnamurthy (1)
- math-mcshane (1)
- soricinae (1)
Pull Request Authors
- saiemgilani (52)
- Kazink36 (8)
- akeaswaran (5)
- bradisbrad (4)
- maatspencer (3)
- soricinae (2)
- sweep-ai[bot] (2)
- mrcaseb (1)
- tanho63 (1)
- topfunky (1)
- mcqconor (1)
Top Labels
Issue Labels
bug (5)
enhancement (4)
good first issue (2)
documentation (2)
question (1)
invalid (1)
Pull Request Labels
bug (8)
enhancement (5)
documentation (5)
sweep (2)
Packages
- Total packages: 1
-
Total downloads:
- cran 428 last-month
- Total docker downloads: 21,613
- Total dependent packages: 0
- Total dependent repositories: 4
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: cfbfastR
Access College Football Play by Play Data
- Homepage: https://cfbfastR.sportsdataverse.org/
- Documentation: http://cran.r-project.org/web/packages/cfbfastR/cfbfastR.pdf
- License: MIT + file LICENSE
- Status: removed
-
Latest release: 1.9.0
published over 3 years ago
Rankings
Docker downloads count: 0.6%
Stargazers count: 5.5%
Forks count: 7.3%
Average: 12.3%
Dependent repos count: 14.6%
Downloads: 16.8%
Dependent packages count: 28.8%
Maintainers (1)
Last synced:
6 months ago
Dependencies
.github/workflows/R-CMD-check.yaml
actions
- actions/cache v2 composite
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
.github/workflows/pkgdown.yaml
actions
- actions/checkout v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- R >= 4.0.0 depends
- Rcpp >= 1.0.7 imports
- RcppParallel >= 5.1.4 imports
- cli >= 3.0.0 imports
- data.table >= 1.14.0 imports
- dplyr * imports
- glue * imports
- httr * imports
- janitor * imports
- jsonlite * imports
- magrittr * imports
- mgcv >= 1.8 imports
- nnet * imports
- progressr >= 0.6.0 imports
- purrr >= 0.3.0 imports
- rlang * imports
- stringr >= 1.3.0 imports
- tibble >= 3.0 imports
- tidyr >= 1.0.0 imports
- DBI * suggests
- RSQLite * suggests
- crayon >= 1.3.4 suggests
- curl * suggests
- ggplot2 * suggests
- ggrepel * suggests
- qs >= 0.25.1 suggests
- rmarkdown * suggests
- stats * suggests
- stringi * suggests
- testthat * suggests
- usethis >= 1.6.0 suggests
- xgboost >= 1.1 suggests
