Skip to content

saiemgilani/cfbscrapR-data

Repository files navigation

cfbscrapR-data

Twitter Follow Twitter Follow

social_card_data_repo.png

cfbscrapR data 2014-2020

RDS

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")
    )
  )
})

CSV (compressed)

This has been removed from the repository on account of the size being too large.

Parquet (arrow)

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)
})

Releases

No releases published

Packages

No packages published

Languages