Skip to content

Instantly share code, notes, and snippets.

@rufuspollock
Created November 11, 2011 14:36
Show Gist options
  • Save rufuspollock/1358131 to your computer and use it in GitHub Desktop.
Save rufuspollock/1358131 to your computer and use it in GitHub Desktop.
OpenSpending local dataset load from command line

Test model (dimensions and mapping):

ostool cfg.ini csvimport --model=model.json --dry-run --raise-on-error --max-lines=1 data.csv

Dry run:

ostool cfg.ini csvimport --model=model.json --dry-run data.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment