Created
February 8, 2016 03:16
-
-
Save Hoedic/20315eba3f24cf2c1ce1 to your computer and use it in GitHub Desktop.
Export data from donnees.ville.montreal.qc.ca into a CSV using ckanapi-exporter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ckanapi-exporter --url 'http://donnees.ville.montreal.qc.ca' \ | |
--column "id" --pattern '^name$' \ | |
--column "nom" --pattern '^title$' \ | |
--column "date_creation" --pattern '^metadata_created$' \ | |
--column "derniere_modification" --pattern '^metadata_modified$' \ | |
--column "unite_administrative" --pattern '^author_unite_admin$' \ | |
--column "frequence" --pattern '^update_frequency$' \ | |
--column "nb_fichiers" --pattern '^num_resources$' \ | |
--column "format_fichiers" --pattern '^resources$' '^format$' --deduplicate \ | |
--column "tags" --pattern '^tags$' '^display_name$' --deduplicate \ | |
--column "thematiques" --pattern '^groups$' '^display_name$' --deduplicate \ | |
--column "methodologie" --pattern '^methodologie$' \ | |
--column "Description" --pattern '^notes$' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment