lbenz730 / ncaahoopR

An R package for working with NCAA Basketball Play-by-Play Data
MIT License
198 stars 49 forks source link

dict ESPN_PBP name fixes #51

Closed naymikm closed 3 years ago

naymikm commented 4 years ago

I noticed some of the PBP names are off in the 'dict' dataframe. I have been scraping boxscores for the 2016-17 and 2017-18 season but it looks like the name in the boxscore list is the same as the name in pbp data (I only spot checked a few of these in pbp but the boxscores for sure use this name). These are the changes that I have reconciled:

dict$ESPN_PBP[dict$ESPN_PBP == 'Arkansas State'] = 'Arkansas St' dict$ESPN_PBP[dict$ESPN_PBP == 'Fort Wayne'] = 'Purdue Fort Wayne' dict$ESPN_PBP[dict$ESPN_PBP == 'Georgia State'] = 'Georgia St' dict$ESPN_PBP[dict$ESPN_PBP == 'Little Rock'] = 'Arkansas-Little Rock' dict$ESPN_PBP[dict$ESPN_PBP == 'Louisiana'] = 'Lafayette' dict$ESPN_PBP[dict$ESPN_PBP == 'Loyola-Chicago'] = 'Loyola Chicago' dict$ESPN_PBP[dict$ESPN_PBP == 'McNeese'] = 'Mcneese St' dict$ESPN_PBP[dict$ESPN_PBP == "Mt. St. Mary's"] = "Mt. St. Mary'S" dict$ESPN_PBP[dict$ESPN_PBP == "San José St"] = "San José State" dict$ESPN_PBP[dict$ESPN_PBP == 'Southeast Missouri'] = 'Southeast Missouri State' dict$ESPN_PBP[dict$ESPN_PBP == 'Seattle'] = 'Seattle U' dict$ESPN_PBP[dict$ESPN_PBP == 'SIU-Edwardsville'] = 'SIU Edwardsville' dict$ESPN_PBP[dict$ESPN_PBP == 'UL Monroe'] = 'Ul Monroe' dict$ESPN_PBP[dict$ESPN_PBP == 'UMKC'] = 'UM Kansas City'

lbenz730 commented 3 years ago

Thanks I'll look into this.

lbenz730 commented 3 years ago

Fixed these in dict. Let me know if you find any others.