maksimhorowitz / nflscrapR

R Package for Scraping and Aggregating NFL Data
522 stars 139 forks source link

state_of_game variable #120

Closed ericdfoster closed 5 years ago

ericdfoster commented 5 years ago

Something wonky is going on with the state_of_game variable after a call to the scrape_game_ids function. It shows up in the README, too, where Week 2 of the regular season is tagged with state_of_game = "POST".

I have tested this for both season = 2017 and season = 2018 and with type = "pre", "reg", and "post" and all calls return state_of_game = "POST".

P.S. Love this work - thank you!

P.P.S. Misunderstood this variable - it is working properly.