nflfastR and nfl4th use the "roof" variable in several models
These models expect one of c("indoors", "closed", "outdoors", "open", "retractable") or NA
We ran into problems where roof was empty or something else several times
So we catch these cases here and change invalid data to NA
nflfastR and nfl4th use the "roof" variable in several models These models expect one of c("indoors", "closed", "outdoors", "open", "retractable") or NA We ran into problems where roof was empty or something else several times So we catch these cases here and change invalid data to NA