debruijn / cs2

A project to combine the Counterstrike 2 rankings from ESL, HLTV and Valve.
MIT License
2 stars 1 forks source link

Improvement: detect new teams or updated rosters #3

Closed debruijn closed 3 weeks ago

debruijn commented 3 weeks ago

Improvement: detect new teams or updated rosters.

Before: when running the scripts after doing a new data pull, unify_data.py will crash until new teams have been added to teamname_mapping.csv. These are now added manually, which can mean a team renaming can be missed (especially if they are small unknown teams). Also, in this setup, if one roster is signed by a new sponsor, and a new roster pops up under the old name, this new roster will also be assigned the new sponsor name.

After this is implemented, the following would happen:

For this, two new csvs are added: