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


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
ddpuk-0.0.1.tar.gz (10.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page