Open davescroggs opened 1 year ago
Fixed join data fram and created join function https://github.com/davescroggs/footyStats/commit/09ced6cb662bb4c2aadb151147a1840bf3fd7e0c
Some playerIds have different names associated with them. Ian Hill and Bobby Hill for GWS is 2019 and 2020 is the same player.
Reuben William's name is spelled wrong in round 16 2016.
season | round | teamName | givenName | surname | playerId |
---|---|---|---|---|---|
2016 | 16 | Brisbane Lions | Rueben | William | CD_I998256 |
2016 | 17 | Brisbane Lions | Reuben | William | CD_I998256 |
2016 | 18 | Brisbane Lions | Reuben | William | CD_I998256 |
Need to be careful when joining it doesn't create dupe rows.
Find playerIds that have multiple names associated with them. https://github.com/davescroggs/footyStats/commit/a683d1ba893375c00794d064f4954298887fed1a
playerId | n | surnames | givenName |
---|---|---|---|
CD_I1000887 | 2 | Lewis | Mitch, Mitchell |
CD_I1002235 | 2 | Rayner | Cameron, Cam |
CD_I1002353 | 2 | Crowden | Mitchell, Mitch |
CD_I1002770 | 2 | Brown | Callum, Callum L. |
CD_I1005721 | 2 | Begley | Joshua, Josh |
CD_I1006148 | 2 | Hill | Ian, Bobby |
CD_I1009208 | 2 | Rowell | Matthew, Matt |
CD_I1010174 | 2 | Georgiades | Mitchell, Mitch |
CD_I240406 | 2 | Kennedy | Josh J., Josh |
CD_I250267 | 2 | Ryder | Paddy, Patrick |
CD_I260310 | 2 | Brown | Nathan J., Nathan |
CD_I271015 | 2 | de Boer, De Boer | Matt |
CD_I290540 | 2 | O'Shea | Cam, Cameron |
CD_I290733 | 2 | Sutcliffe | Cameron, Cam |
CD_I291570 | 2 | Fyfe | Nat, Nathan |
CD_I293479 | 2 | Ellis-Yolmen | Cam, Cameron |
CD_I294178 | 2 | Litherland, Dewar | Angus |
CD_I294823 | 2 | Smith | Timothy, Tim |
CD_I296225 | 2 | Rioli | William, Willie |
CD_I298446 | 2 | Deluca | Joshua, Josh |
CD_I990609 | 2 | Cameron | Charlie, Charles |
CD_I993107 | 2 | Himmelberg | Harrison, Harry |
CD_I993820 | 2 | Cole | Thomas, Tom |
CD_I994185 | 2 | De Goey, de Goey | Jordan |
CD_I996464 | 2 | Macpherson, MacPherson | Darcy |
CD_I998167 | 2 | Williamson | Tom, Thomas |
CD_I998256 | 2 | William | Rueben, Reuben |
There's no join index between player stats in AFL data and AFL tables