The populate_videodata command script has a part where we generate end years for each shape, based on some logic involving the start year and the years in the name_years.json - it might be better to forward this to Jim Bennett/ Cliopatria team for them to use to add a field for the end_year to each shape, meaning that we'd only need a single GeoJSON for Cliopatria, and the command script could also be simplified
TODO
[x] Write a script that does the above - see #167
[x] Send to Jim et al
Should we just use the colours in the dataset? How are these being generated?
[ ] Once Cliopatria has end years included, update the populate_videodata command script
[ ] Make the Cliopatria notebook and the command script use the exact same code - call it the cliopatria handling module
should use geopandas
should generate colours with DistinctiPy (but the notebook can check if Cliopatria has a colour included already to save time)
The
populate_videodata
command script has a part where we generate end years for each shape, based on some logic involving the start year and the years in the name_years.json - it might be better to forward this to Jim Bennett/ Cliopatria team for them to use to add a field for the end_year to each shape, meaning that we'd only need a single GeoJSON for Cliopatria, and the command script could also be simplifiedTODO
Should we just use the colours in the dataset? How are these being generated?populate_videodata
command script