Skip to content

Releases: sportsdataverse/cfbfastR

cfbfastR 2.0.0

Choose a tag to compare

@saiemgilani saiemgilani released this 09 Sep 20:23
0bd115b

Breaking Changes to Loading Functions

  • All load_cfb_*() functions now use sportsdataverse-data releases or the CollegeFootballData.com API as their underlying data source to remain in compliance with CFBD API terms and conditions (See Note below).
  • Updated load_cfb_pbp() dataset to include various team- and game-level ID's and flags that were not being included, like home_team_id, away_team_id, season_type, venue_id, some drive_* columns, a half-dozen player stat columns, etc. Essentially, all the leg-work users have undoubtedly had to do while using these datasets is mostly just included now. The downside: this means end users need to check their pipelines which build off these datasets to ensure behavior is as expected and all your joins are doing what is intended.

Now upgraded to the CFBD v2 API

Special thanks are in order for our newest contributor, Brad Hill (@bradisbrad) for providing most of the v2 upgrade via his first PR to cfbfastR!! 🙌🏽 👑 🥇 Your contributions are most appreciated by the community.

Note: The free-tier API key for the CFBD v2 API has a strict 1k calls/month limit, so plan your workflows accordingly! If you receive errors mentioning r Request failed [429], you have most likely run out of API calls for the month in your membership tier.

Read more

cfbfastR 1.9.0

Choose a tag to compare

@saiemgilani saiemgilani released this 15 Jun 19:44

Added functions to access ESPN API:

Added functions to pull data from the data repo:

  • Removes furrr, future dependencies, adds Rcpp, RcppParallel, and purrr dependencies

cfbfastR 1.6.4: CRAN Release

Choose a tag to compare

@saiemgilani saiemgilani released this 06 Nov 00:26

cfbfastR is on CRAN

  • Changed options to revert to old options on exit of function.
  • Removed check_github functions.

cfbfastR 1.5.2

Choose a tag to compare

@saiemgilani saiemgilani released this 03 Oct 03:16
5b7be9b
  • Remove verbose parameter

cfbfastR v1.5.1

Minor release

cfbfastR v1.5.0

Added espn_cfb_scoreboard()

Added espn_cfb_pbp()

cfbfastR 1.4.0

Choose a tag to compare

@saiemgilani saiemgilani released this 25 Aug 02:35
a08cb19

cfbfastR 1.3.3

Choose a tag to compare

@saiemgilani saiemgilani released this 29 Apr 16:03

Hotfix cfbd_game_player_stats()

example of function usage

x <- cfbfastR::cfbd_game_player_stats(year=2020, week = 3)
dplyr::glimpse(x)

Should return a 32 column, 1740 row tibble

cfbfastR 1.3.1

Choose a tag to compare

@saiemgilani saiemgilani released this 25 Apr 03:07

Added three NFL draft functions:

cfbfastR 1.3.0

Choose a tag to compare

@saiemgilani saiemgilani released this 25 Apr 02:43

Added three NFL draft functions:

cfbfastR 1.2.1

Choose a tag to compare

@saiemgilani saiemgilani released this 24 Apr 04:31
dffc085

v1.2.1

Minor release
  • Added headshot_url to outputs of cfbd_team_rosters

  • Renamed returns in cfbd_game_advanced():

    • rushing_line_yd_avg to plural rushing_line_yds_avg
    • rushing_second_lvl_yd_avg to plural rushing_second_lvl_yds_avg
    • rushing_open_field_yd_avg to plural rushing_open_field_yds_avg
  • Completed documentation for all returns except cfbd_pbp_data()

  • Continued work on intro vignette

v1.2.0-1

Add significant documentation to the package

ESPN/CFBD metrics function variable return standardization

v1.1.0

Add loading from Data Repository functionality

Add support for parallel processing and progress updates

  • Added furrr, future, and progressr dependencies to the package to allow for parallel processing of the play-by-play data with progress updates if desired.

v1.0.0

Function Naming Convention Change

  • All functions sourced from the College Football Data API will start with cfbd_ as opposed to cfb_ (as in cfbscrapR). One additional cfbd_ function has been added that corresponds to the result when cfbd_pbp_data() has the parameter epa_wpa=FALSE. It has now been separated into its own function for clarity cfbd_plays(). The parameter and functionality still exists in cfbd_pbp_data() but we expect this function will still exist but made obsolete in favor of a function more closely matching nflfastR's naming conventions.

  • Similarly, data and metrics sourced from ESPN will begin with espn_ as opposed to cfb_. In particular, the two functions are now espn_ratings_fpi() and espn_metrics_wp()

  • Data generated from any of the cfbfastR methods will use cfb_

College Football Data API Keys

The CollegeFootballData API now requires an API key, here's a quick run-down:

CFBD_API_KEY = XXXX-YOUR-API-KEY-HERE-XXXXX
  • 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.
Sys.setenv(CFBD_API_KEY = "XXXX-YOUR-API-KEY-HERE-XXXXX")
  • Added API Key methods. If you forget to set your environment variable, functions will give you a warning and ask for one.

v1.2.0 Documentation is all

Choose a tag to compare

@saiemgilani saiemgilani released this 22 Apr 22:19

Add significant documentation to the package

ESPN/CFBD metrics function variable return standardization