Replace data source for Italy, add automatic updates #147
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #132 by updating the data import script for Italy.
There are two datasets for that data:
I have checked that both datasets contain the same data, but use different schemas. I've decided to read the first one, but the second is kept commented in the file, just in case the first one becomes unavailable or outdated in the future, so it would be easier to replace.
The script is also added to the job run automatically by Github Actions, so it will be automatically updated once a week.
The
id
column has been changed to use the slug of the organization's name, instead of the internal id/abbreviation as it was before. Once we deal with #65 it shouldn't be hard to add the local Italian id to the new column.Care to take a look, @traversaro?