-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Description
The ETLocal wiki gives an overview of the commands to use when exporting ETLocal datasets to ETSource. It should give the current national and regional datasets to be exported.
Some points of criticism to this approach:
- One needs to manually copy paste the commands in the terminal
- This overview tends to get outdated since datasets get removed or added
Proposed Improvement
Ideally, you'd want to use general commands such as COUNTRIES, PROVINCES, RES_REGIONS, MUNICIPALITIES which then exports the relevant datasets. For example:
EXPORT_ROOT=http://localhost:5000/ bundle exec rake etsource:export DATASET=COUNTRIES
COUNTRIES could refer to some config file with a list of all relevant country datasets. OR even better: it would be dynamically derived from ETSource which checks all country datasets in ETDataset and exports these from ETLocal to ETSource. This way, there's no need to manually update a config list with all active datasets.
Notifying @quintel/developers
Reactions are currently unavailable