Skip to main content

Dump Socrata Instance into a Folder, including both Metadata and Data

Project description

socrata-dump

usage: socrata-dump [-h] [--compression COMPRESSION] [--file-size-limit FILE_SIZE_LIMIT] [--in-memory IN_MEMORY] [--key-id KEY_ID] [--key-secret KEY_SECRET]
                    [--limit LIMIT] [--provenance PROVENANCE] [--scope SCOPE]
                    base outpath

Dump Socrata Instance into a Folder, including both Metadata and Data

positional arguments:
  base                  base url of Socrata instance
  outpath               output directory to save downloaded data

options:
  -h, --help            show this help message and exit
  --compression COMPRESSION
                        type of compression to apply to csv files. currently only valid value is "zip"
  --file-size-limit FILE_SIZE_LIMIT
                        total max file size in megabytes. any file larger than this will be deleted
  --in-memory IN_MEMORY
                        skip writing intermediate files to disk. increases memory usage, but avoids writing .csv if you only want .csv.zip
  --key-id KEY_ID       keyId for Socrata API
  --key-secret KEY_SECRET
                        keySecret for Socrata API
  --limit LIMIT, -l LIMIT
                        total number of assets to process
  --provenance PROVENANCE, -p PROVENANCE
                        filter by provenance: "community" or "official"
  --scope SCOPE         filter by specific scope: "private" or "site"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

socrata-dump-0.2.0.tar.gz (7.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page