Hey,
I found inconsistencies in the variables special and special_teams_play. Some field goal attempts are not considered special teams plays. There should not be any made/missed field goals, or field goals that were attempted and blocked with a 0 in special and special_teams_play.
> table(pbp$field_goal_result, pbp$special, useNA = 'always')
0 1 <NA>
blocked 3 584 0
made 8 22983 0
missed 2 4193 0
<NA> 1079689 172166 0
> table(pbp$field_goal_result, pbp$special_teams_play, useNA = 'always')
0 1 <NA>
blocked 481 56 50
made 19924 1539 1528
missed 3419 408 368
<NA> 1014346 147828 89681
Hey,
I found inconsistencies in the variables special and special_teams_play. Some field goal attempts are not considered special teams plays. There should not be any made/missed field goals, or field goals that were attempted and blocked with a 0 in special and special_teams_play.