rogers1000 / cyclingchaos

Cycling Data Package
6 stars 0 forks source link

Calendar Function - Stage Numbers #11

Closed rogers1000 closed 8 months ago

rogers1000 commented 8 months ago

Stage Races only brings in first stage into calendar and not all of them.

E.g. Tour de France only has Bilbao-Bilbao data.

rogers1000 commented 8 months ago

Problem was associated with two errors in the code...

Error1: Drop_Duplicate didn't include stage_number within the subset.

Error2: stage_number when reading file automatically became int as type. Meant that it lost the 0 before the stage number so wouldn't join the calendar function.