Skip to content

Commit

Permalink
Merge pull request #24 from saiemgilani/way-back
Browse files Browse the repository at this point in the history
take it back, take it way back
  • Loading branch information
saiemgilani authored Jun 29, 2021
2 parents 7a8ce32 + ecb913e commit 1c8223c
Show file tree
Hide file tree
Showing 12 changed files with 513 additions and 482 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: cfbfastR
Title: Functions to Access College Football Play by Play Data
Version: 1.3.3
Version: 1.9.9
Authors@R:
c(person(given = "Saiem",
family = "Gilani",
Expand Down
256 changes: 128 additions & 128 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,128 +1,128 @@
# Generated by roxygen2: do not edit by hand

export(add_play_counts)
export(add_player_cols)
export(add_yardage)
export(cfbd_betting_lines)
export(cfbd_calendar)
export(cfbd_coaches)
export(cfbd_conferences)
export(cfbd_draft_picks)
export(cfbd_draft_positions)
export(cfbd_draft_teams)
export(cfbd_drives)
export(cfbd_game_box_advanced)
export(cfbd_game_info)
export(cfbd_game_media)
export(cfbd_game_player_stats)
export(cfbd_game_records)
export(cfbd_game_team_stats)
export(cfbd_key)
export(cfbd_metrics_ppa_games)
export(cfbd_metrics_ppa_players_games)
export(cfbd_metrics_ppa_players_season)
export(cfbd_metrics_ppa_predicted)
export(cfbd_metrics_ppa_teams)
export(cfbd_metrics_wp)
export(cfbd_metrics_wp_pregame)
export(cfbd_pbp_data)
export(cfbd_play_stats_player)
export(cfbd_play_stats_types)
export(cfbd_play_types)
export(cfbd_player_info)
export(cfbd_player_returning)
export(cfbd_player_usage)
export(cfbd_plays)
export(cfbd_rankings)
export(cfbd_ratings_sp)
export(cfbd_ratings_sp_conference)
export(cfbd_ratings_srs)
export(cfbd_recruiting_player)
export(cfbd_recruiting_position)
export(cfbd_recruiting_team)
export(cfbd_stats_categories)
export(cfbd_stats_game_advanced)
export(cfbd_stats_season_advanced)
export(cfbd_stats_season_player)
export(cfbd_stats_season_team)
export(cfbd_team_info)
export(cfbd_team_matchup)
export(cfbd_team_matchup_records)
export(cfbd_team_roster)
export(cfbd_team_talent)
export(cfbd_venues)
export(clean_drive_dat)
export(clean_drive_info)
export(clean_pbp_dat)
export(create_epa)
export(create_wpa_naive)
export(epa_fg_probs)
export(espn_metrics_wp)
export(has_cfbd_key)
export(load_cfb_pbp)
export(penalty_detection)
export(prep_epa_df_after)
export(update_cfb_db)
export(wpa_calcs_naive)
import(dplyr)
import(purrr)
import(stringr)
import(tidyr)
importFrom(assertthat,assert_that)
importFrom(dplyr,arrange)
importFrom(dplyr,as_tibble)
importFrom(dplyr,between)
importFrom(dplyr,case_when)
importFrom(dplyr,filter)
importFrom(dplyr,group_by)
importFrom(dplyr,if_else)
importFrom(dplyr,lag)
importFrom(dplyr,lead)
importFrom(dplyr,left_join)
importFrom(dplyr,mutate)
importFrom(dplyr,mutate_at)
importFrom(dplyr,n)
importFrom(dplyr,rename)
importFrom(dplyr,row_number)
importFrom(dplyr,select)
importFrom(dplyr,setdiff)
importFrom(dplyr,ungroup)
importFrom(glue,glue)
importFrom(httr,GET)
importFrom(httr,RETRY)
importFrom(httr,status_code)
importFrom(janitor,clean_names)
importFrom(jsonlite,fromJSON)
importFrom(magrittr,"%>%")
importFrom(mgcv,bam)
importFrom(mgcv,predict.bam)
importFrom(nnet,multinom)
importFrom(purrr,map)
importFrom(purrr,map_dfr)
importFrom(purrr,map_if)
importFrom(purrr,pluck)
importFrom(purrr,quietly)
importFrom(purrr,set_names)
importFrom(rlang,.data)
importFrom(stats,na.omit)
importFrom(stats,predict)
importFrom(stringi,stri_extract_first_regex)
importFrom(stringr,str_detect)
importFrom(stringr,str_extract)
importFrom(stringr,str_length)
importFrom(stringr,str_remove)
importFrom(stringr,str_sub)
importFrom(stringr,str_trim)
importFrom(tibble,enframe)
importFrom(tidyr,everything)
importFrom(tidyr,fill)
importFrom(tidyr,pivot_wider)
importFrom(tidyr,unnest)
importFrom(tidyr,unnest_wider)
importFrom(utils,URLdecode)
importFrom(utils,URLencode)
importFrom(utils,data)
importFrom(utils,globalVariables)
importFrom(utils,installed.packages)
importFrom(utils,packageDescription)
importFrom(utils,packageVersion)
# Generated by roxygen2: do not edit by hand
export(add_play_counts)
export(add_player_cols)
export(add_yardage)
export(cfbd_betting_lines)
export(cfbd_calendar)
export(cfbd_coaches)
export(cfbd_conferences)
export(cfbd_draft_picks)
export(cfbd_draft_positions)
export(cfbd_draft_teams)
export(cfbd_drives)
export(cfbd_game_box_advanced)
export(cfbd_game_info)
export(cfbd_game_media)
export(cfbd_game_player_stats)
export(cfbd_game_records)
export(cfbd_game_team_stats)
export(cfbd_key)
export(cfbd_metrics_ppa_games)
export(cfbd_metrics_ppa_players_games)
export(cfbd_metrics_ppa_players_season)
export(cfbd_metrics_ppa_predicted)
export(cfbd_metrics_ppa_teams)
export(cfbd_metrics_wp)
export(cfbd_metrics_wp_pregame)
export(cfbd_pbp_data)
export(cfbd_play_stats_player)
export(cfbd_play_stats_types)
export(cfbd_play_types)
export(cfbd_player_info)
export(cfbd_player_returning)
export(cfbd_player_usage)
export(cfbd_plays)
export(cfbd_rankings)
export(cfbd_ratings_sp)
export(cfbd_ratings_sp_conference)
export(cfbd_ratings_srs)
export(cfbd_recruiting_player)
export(cfbd_recruiting_position)
export(cfbd_recruiting_team)
export(cfbd_stats_categories)
export(cfbd_stats_game_advanced)
export(cfbd_stats_season_advanced)
export(cfbd_stats_season_player)
export(cfbd_stats_season_team)
export(cfbd_team_info)
export(cfbd_team_matchup)
export(cfbd_team_matchup_records)
export(cfbd_team_roster)
export(cfbd_team_talent)
export(cfbd_venues)
export(clean_drive_dat)
export(clean_drive_info)
export(clean_pbp_dat)
export(create_epa)
export(create_wpa_naive)
export(epa_fg_probs)
export(espn_metrics_wp)
export(has_cfbd_key)
export(load_cfb_pbp)
export(penalty_detection)
export(prep_epa_df_after)
export(update_cfb_db)
export(wpa_calcs_naive)
import(dplyr)
import(purrr)
import(stringr)
import(tidyr)
importFrom(assertthat,assert_that)
importFrom(dplyr,arrange)
importFrom(dplyr,as_tibble)
importFrom(dplyr,between)
importFrom(dplyr,case_when)
importFrom(dplyr,filter)
importFrom(dplyr,group_by)
importFrom(dplyr,if_else)
importFrom(dplyr,lag)
importFrom(dplyr,lead)
importFrom(dplyr,left_join)
importFrom(dplyr,mutate)
importFrom(dplyr,mutate_at)
importFrom(dplyr,n)
importFrom(dplyr,rename)
importFrom(dplyr,row_number)
importFrom(dplyr,select)
importFrom(dplyr,setdiff)
importFrom(dplyr,ungroup)
importFrom(glue,glue)
importFrom(httr,GET)
importFrom(httr,RETRY)
importFrom(httr,status_code)
importFrom(janitor,clean_names)
importFrom(jsonlite,fromJSON)
importFrom(magrittr,"%>%")
importFrom(mgcv,bam)
importFrom(mgcv,predict.bam)
importFrom(nnet,multinom)
importFrom(purrr,map)
importFrom(purrr,map_dfr)
importFrom(purrr,map_if)
importFrom(purrr,pluck)
importFrom(purrr,quietly)
importFrom(purrr,set_names)
importFrom(rlang,.data)
importFrom(stats,na.omit)
importFrom(stats,predict)
importFrom(stringi,stri_extract_first_regex)
importFrom(stringr,str_detect)
importFrom(stringr,str_extract)
importFrom(stringr,str_length)
importFrom(stringr,str_remove)
importFrom(stringr,str_sub)
importFrom(stringr,str_trim)
importFrom(tibble,enframe)
importFrom(tidyr,everything)
importFrom(tidyr,fill)
importFrom(tidyr,pivot_wider)
importFrom(tidyr,unnest)
importFrom(tidyr,unnest_wider)
importFrom(utils,URLdecode)
importFrom(utils,URLencode)
importFrom(utils,data)
importFrom(utils,globalVariables)
importFrom(utils,installed.packages)
importFrom(utils,packageDescription)
importFrom(utils,packageVersion)
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# **cfbfastR v1.9.9**

### Expected points and Win Probability data back to 2003

- Added to the package functions [```load_cfb_pbp()```](https://saiemgilani.github.io/cfbfastR/reference/load_cfb_pbp.html) and [```update_cfb_db()```](https://saiemgilani.github.io/cfbfastR/reference/update_cfb_db.html)

- There are a few known errors with the calculations that need to be looked into further. One specific one identified by Brendan Farrell noting that short yardage touchdowns for pre-2008 data were often negative EPA plays. This is either a duplication issue or a coding error.

# **cfbfastR v1.3.3**

### Hotfix [```cfbd_game_player_stats()```](https://saiemgilani.github.io/cfbfastR/reference/cfbd_game_player_stats.html)
Expand Down
Loading

0 comments on commit 1c8223c

Please sign in to comment.