Skip to main content

data.parliament.uk for Humans

Project description

Utilities to interact with the data.parliament.uk APIs

ddpuk_download

Download data from http://lda.data.parliament.uk

usage: ddpuk_download [-h] [--format {csv,json,rdf,text,ttl,xml}]
                      [--size SIZE] [--page-from PAGE_FROM]
                      [--page-to PAGE_TO] [--datadir DATADIR]
                      dataset

Download data from http://lda.data.parliament.uk

positional arguments:
  dataset               dataset to download

optional arguments:
  -h, --help            show this help message and exit
  --format {csv,json,rdf,text,ttl,xml}
                        format (default: json)
  --size SIZE           batch size (default: 500)
  --page-from PAGE_FROM
                        first page (default: 0)
  --page-to PAGE_TO     last page (default: 125)
  --datadir DATADIR     target directory (default: data)

Built by Florian Rathgeber at Accountability Hack 2015.

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

ddpuk-0.0.1.tar.gz (10.1 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