Have noticed that when trying to find average win probability or GEI for games involving teams with parenthesis states in their name it returns an error. For example, St. Francis since their ESPN name is St. Francis (PA). An explicit example would be when Tennessee Tech played Bethel (TN) it returns an error for average_win_prob, citing "Error in if (extra_parse & (pbp$date[1] >= "2007-11-01")) { : missing value where TRUE/FALSE needed". Usually WP is the error, but it can sometimes be for GEI as well, with game_excitement_index for Marshall vs Miami (OH) returning "Error in if (timeout$team[j] == home) { : argument is of length zero". Not sure if the error is the same or not every time, but the consistent part is having (state abbreviation) in your name somewhere.
Have noticed that when trying to find average win probability or GEI for games involving teams with parenthesis states in their name it returns an error. For example, St. Francis since their ESPN name is St. Francis (PA). An explicit example would be when Tennessee Tech played Bethel (TN) it returns an error for average_win_prob, citing "Error in if (extra_parse & (pbp$date[1] >= "2007-11-01")) { : missing value where TRUE/FALSE needed". Usually WP is the error, but it can sometimes be for GEI as well, with game_excitement_index for Marshall vs Miami (OH) returning "Error in if (timeout$team[j] == home) { : argument is of length zero". Not sure if the error is the same or not every time, but the consistent part is having (state abbreviation) in your name somewhere.