sportsdataverse / cfbfastR

An R package to quickly obtain clean and tidy college football play by play data
https://cfbfastR.sportsdataverse.org
Other
74 stars 8 forks source link

cfb_pbp_data() only returning 56 variables #95

Closed garbage-time closed 9 months ago

garbage-time commented 9 months ago

I was reading over the documentation for the cfb_pbp_data() function and noticed that it's supposed to return 351 variables. However, upon using it, I only obtain 56 columns for the year 2023 (additional testing in prior years 2020 and 2018 provided the same result.)

I am using:

Screenshot of using glimpse() on the 2023 cfb_pbp_data() data.

cfbd_pbp_data_load

I apologize if this is the result of me missing an argument somewhere! Thank you!

akeaswaran commented 9 months ago

I've just taken a look at this -- you'll get the full set of 300+ columns if you set epa_wpa to TRUE. If you're still not seeing all of them with that option set, please let us know.

garbage-time commented 9 months ago

Ah I see! That did the trick. My apologies for not attempting that sooner. Thanks!