generated from mysociety/python-data-auto-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update repo data based on source changes
- Loading branch information
1 parent
a653d88
commit ac419bb
Showing
7 changed files
with
365 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
data/packages/commons_votes/versions/0.2.0/datapackage.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: commons_votes | ||
title: Commons Votes Data | ||
description: "Dataset version of data from Commons Votes API\n" | ||
version: 0.2.0 | ||
licenses: | ||
- name: CC-BY-4.0 | ||
path: https://creativecommons.org/licenses/by/4.0/ | ||
title: Creative Commons Attribution 4.0 International License | ||
contributors: | ||
- title: UK Parliament | ||
path: https://parliament.uk | ||
role: author | ||
- title: mySociety | ||
path: https://mysociety.org | ||
role: author | ||
custom: | ||
build: project load-commons-votes | ||
tests: | ||
- test_commons_votes_divisions | ||
dataset_order: 0 | ||
download_options: | ||
gate: default | ||
survey: default | ||
header_text: default | ||
formats: | ||
csv: true | ||
parquet: true | ||
gpkg: false | ||
geojson: false | ||
is_geodata: false | ||
composite: | ||
xlsx: | ||
include: all | ||
exclude: none | ||
render: true | ||
sqlite: | ||
include: all | ||
exclude: none | ||
render: true | ||
json: | ||
include: all | ||
exclude: none | ||
render: true | ||
change_log: | ||
0.1.0: Don't need to increment, first version | ||
0.2.0: 'Change in data for resource(s): divisions' |
Binary file not shown.
133 changes: 133 additions & 0 deletions
133
data/packages/commons_votes/versions/0.2.0/divisions.resource.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
title: Divisions | ||
description: House of Commmons divisions as avaliable through the Commons Votes API | ||
custom: | ||
row_count: 1748 | ||
path: divisions.parquet | ||
name: divisions | ||
profile: data-resource | ||
scheme: file | ||
format: parquet | ||
hashing: md5 | ||
encoding: utf-8 | ||
schema: | ||
fields: | ||
- name: division_id | ||
type: integer | ||
description: Internal ID for the division | ||
constraints: | ||
unique: false | ||
example: 2 | ||
- name: date | ||
type: string | ||
description: Date and time of the division | ||
constraints: | ||
unique: false | ||
example: '2016-03-09T18:50:00' | ||
- name: publication_updated | ||
type: string | ||
description: Date and time the division was last updated | ||
constraints: | ||
unique: false | ||
example: '2016-03-15T12:07:14.623' | ||
- name: number | ||
type: integer | ||
description: Division number (unique to day) | ||
constraints: | ||
unique: false | ||
example: 1 | ||
- name: is_deferred | ||
type: boolean | ||
description: Whether the division was deferred | ||
constraints: | ||
unique: false | ||
enum: | ||
- false | ||
- true | ||
example: 'False' | ||
- name: evel_type | ||
type: string | ||
description: Whether the division was an English Votes for English Laws division | ||
constraints: | ||
unique: false | ||
enum: | ||
- '' | ||
- Country | ||
- Double Majority | ||
example: '' | ||
- name: evel_country | ||
type: string | ||
description: Country for English Votes for English Laws division | ||
constraints: | ||
unique: false | ||
enum: | ||
- '' | ||
- England | ||
- England and Wales | ||
example: '' | ||
- name: title | ||
type: string | ||
description: Title of the division | ||
constraints: | ||
unique: false | ||
example: "\tElections Bill: Government Motion to disagree to Lords Amendment 23" | ||
- name: aye_count | ||
type: integer | ||
description: Number of aye votes | ||
constraints: | ||
unique: false | ||
example: 0 | ||
- name: no_count | ||
type: integer | ||
description: Number of no votes | ||
constraints: | ||
unique: false | ||
example: 0 | ||
- name: double_majority_aye_count | ||
type: number | ||
description: Number of aye votes for double majority (EVEL) | ||
constraints: | ||
unique: false | ||
example: 199.0 | ||
- name: double_majority_no_count | ||
type: number | ||
description: Number of no votes for double majority (EVEL) | ||
constraints: | ||
unique: false | ||
example: 3.0 | ||
- name: friendly_description | ||
type: string | ||
description: Friendly description of the division | ||
constraints: | ||
unique: false | ||
example: "21:30" | ||
- name: friendly_title | ||
type: string | ||
description: Friendly title of the division | ||
constraints: | ||
unique: false | ||
example: "Business of the House (Private Members' Bills): Amendment (a)" | ||
- name: remote_voting_start | ||
type: string | ||
description: Date and time remote voting started | ||
constraints: | ||
unique: false | ||
example: '2020-05-12T17:48:53' | ||
- name: remote_voting_end | ||
type: string | ||
description: Date and time remote voting ended | ||
constraints: | ||
unique: false | ||
example: '2020-05-12T18:03:53' | ||
- name: division_key | ||
type: string | ||
description: Unique key for the division for TWFY | ||
constraints: | ||
unique: false | ||
example: pw-2016-03-09-211-commons | ||
- name: twfy_link | ||
type: string | ||
description: Link to the division on TheyWorkForYou | ||
constraints: | ||
unique: false | ||
example: https://www.theyworkforyou.com/divisions/pw-2016-03-09-211-commons | ||
hash: 97f9ad6512427459a7280232b37f0471 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
[ | ||
{ | ||
"division_id": 1743, | ||
"date": "2024-02-21T18:39:00", | ||
"publication_updated": "2024-02-22T12:53:27", | ||
"number": 79, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Motion to sit in private", | ||
"aye_count": 20, | ||
"no_count": 212, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-21-79-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-21-79-commons" | ||
}, | ||
{ | ||
"division_id": 1742, | ||
"date": "2024-02-21T13:13:00", | ||
"publication_updated": "2024-02-21T13:40:19", | ||
"number": 78, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Motor vehicles (driving licences) (reform): Ten Minute Rule Motion", | ||
"aye_count": 63, | ||
"no_count": 81, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-21-78-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-21-78-commons" | ||
}, | ||
{ | ||
"division_id": 1741, | ||
"date": "2024-02-20T17:12:00", | ||
"publication_updated": "2024-02-20T17:28:48", | ||
"number": 77, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Offshore Petroleum Licensing Bill: Third Reading", | ||
"aye_count": 286, | ||
"no_count": 221, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-20-77-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-20-77-commons" | ||
}, | ||
{ | ||
"division_id": 1740, | ||
"date": "2024-02-20T15:49:00", | ||
"publication_updated": "2024-02-20T18:53:24", | ||
"number": 76, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Offshore Petroleum Licensing Bill Committee: Amendment 17", | ||
"aye_count": 226, | ||
"no_count": 287, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-20-76-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-20-76-commons" | ||
}, | ||
{ | ||
"division_id": 1739, | ||
"date": "2024-02-20T15:34:00", | ||
"publication_updated": "2024-02-20T16:05:40", | ||
"number": 75, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Offshore Petroleum Licensing Bill Committee: Amendment 10", | ||
"aye_count": 44, | ||
"no_count": 285, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-20-75-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-20-75-commons" | ||
}, | ||
{ | ||
"division_id": 1738, | ||
"date": "2024-02-06T18:09:00", | ||
"publication_updated": "2024-02-06T18:27:32", | ||
"number": 74, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Opposition day: Ministerial severance (reform)", | ||
"aye_count": 192, | ||
"no_count": 275, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-06-74-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-06-74-commons" | ||
}, | ||
{ | ||
"division_id": 1737, | ||
"date": "2024-02-05T19:26:00", | ||
"publication_updated": "2024-02-06T15:16:58", | ||
"number": 73, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Finance Bill: Third Reading", | ||
"aye_count": 283, | ||
"no_count": 39, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-05-73-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-05-73-commons" | ||
}, | ||
{ | ||
"division_id": 1736, | ||
"date": "2024-02-05T18:50:00", | ||
"publication_updated": "2024-02-06T10:10:50", | ||
"number": 72, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Finance Bill Report Stage: New Clause 7", | ||
"aye_count": 182, | ||
"no_count": 289, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-05-72-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-05-72-commons" | ||
}, | ||
{ | ||
"division_id": 1735, | ||
"date": "2024-02-05T18:36:00", | ||
"publication_updated": "2024-02-06T10:57:38", | ||
"number": 71, | ||
"is_deferred": false, | ||
"evel_type": "", | ||
"evel_country": "", | ||
"title": "Finance Bill Report Stage: New Clause 6", | ||
"aye_count": 185, | ||
"no_count": 285, | ||
"double_majority_aye_count": null, | ||
"double_majority_no_count": null, | ||
"friendly_description": null, | ||
"friendly_title": null, | ||
"remote_voting_start": null, | ||
"remote_voting_end": null, | ||
"division_key": "pw-2024-02-05-71-commons", | ||
"twfy_link": "https://www.theyworkforyou.com/divisions/pw-2024-02-05-71-commons" | ||
} | ||
] |