Closed andycancapital closed 1 year ago
Just re-read the documents, and it seems like this is expected but a bit confused given how spread values work. -4 usually means the home team is favored by 4 points and a positive value means the team is the underdog
Yes, this is expected behavior https://nflreadr.nflverse.com/articles/dictionary_pbp.html
Is there an existing issue for this?
Have you installed the latest development version of the package(s) in question?
What version of the package do you have?
1.0.2
Describe the bug
The data in load_schedules(seasons = TRUE) for the spread is incorrect. The value in the spread_line is not the home team spread but the away team spread value. I compared the value in this data to one I grabbed directly from PFR and it seems to be backwards
Reprex
Expected Behavior
spread value should be the home teams value not the away teams value
nflverse_sitrep
Screenshots
Additional context
You can review this dataset https://gist.github.com/andycancapital/e5aa284a92229e02fafb928875c28e80. season, week, home_team and spread_line are from the load_schedule() function and andy_home_team_vegas_line is from my internal dataset