italia / public-opendata-sources

A (complete) list of Italian public open data sources.
https://italia.github.io/public-opendata-sources/
Other
18 stars 7 forks source link

Export all data #7

Closed furins closed 4 years ago

furins commented 4 years ago

This PR proposes a script that should satisfy issue #6. The script takes in account the following environmental variables:

Exit codes (details on stderr): 0: everything ran smoothly, or just with a warning (sources folder may be empty or may not exist) 1: output file exists but can not be overwritten 2: organisations folder does not exist

jenkin commented 4 years ago

Thanks, it works fine! :) I'll change OPENDATA_KEEP_OWNER default to simplify schema validation and update file names.