https://github.com/kynan/ddpy
data.parliament.uk for Humans
https://github.com/kynan/ddpy
Last synced: 11 months ago
JSON representation
data.parliament.uk for Humans
- Host: GitHub
- URL: https://github.com/kynan/ddpy
- Owner: kynan
- License: mit
- Created: 2015-11-22T16:10:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2023-06-25T05:50:15.000Z (over 2 years ago)
- Last Synced: 2025-01-12T12:32:38.182Z (12 months ago)
- Language: Python
- Homepage: https://ddpy.readthedocs.org
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.txt
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
DDPy - data.parliament.uk for Humans
====================================
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`_.
.. _Florian Rathgeber: https://twitter.com/frathgeber
.. _Accountability Hack 2015: http://accountabilityhack.org