cfbscrapR data 2014-2020
seasons <- 2014:2020
pbp <- purrr::map_df(seasons, function(x) {
readRDS(
url(
glue::glue("https://raw.githubusercontent.com/saiemgilani/cfbscrapR-data/master/data/rds/pbp_players_pos_{x}.rds")
)
)
})
This has been removed from the repository on account of the size being too large.
seasons <- 2014:2020
pbp <- purrr::map_df(seasons, function(x) {
download.file(glue::glue("https://raw.githubusercontent.com/saiemgilani/cfbscrapR-data/master/data/parquet/pbp_players_pos_{x}.parquet"),"tmp.parquet")
df <- arrow::read_parquet("tmp.parquet")
return(df)
})