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.
Contents¶
License¶
The MIT License (MIT)
Copyright (c) 2015 Florian Rathgeber
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Developers¶
- Florian Rathgeber <florian.rathgeber@gmail.com>