Skip to content

Create general commands for exporting ETLocal datasets to ETSource #652

@kndehaan

Description

@kndehaan

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions