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 details)

Uploaded Source

File details

Details for the file socrata-dump-0.2.0.tar.gz.

File metadata

  • Download URL: socrata-dump-0.2.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.4

File hashes

Hashes for socrata-dump-0.2.0.tar.gz
Algorithm Hash digest
SHA256 27b474ae8c9645c94989d8f49c0852521c6319acf2f189e9d53e64c6610d334b
MD5 2e1700e13f160f83e160baaf59e058ad
BLAKE2b-256 cd07e16956bc71658fa4ff4fc777267620658578d12065c8fc3ce2c3c4509de2

See more details on using hashes here.

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