Skip to content

Commit

Permalink
Update repo data based on source changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ajparsons authored and github-actions[bot] committed Dec 7, 2024
1 parent ceb4517 commit 6fcc95c
Show file tree
Hide file tree
Showing 12 changed files with 1,098 additions and 6 deletions.
3 changes: 2 additions & 1 deletion data/packages/public_whip_data/datapackage.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: public_whip_data
title: Public Whip data
description: "Reprocessed data dump from publicwhip.org.uk\n"
version: 0.369.0
version: 0.370.0
licenses:
- name: CC-BY-4.0
path: https://creativecommons.org/licenses/by/4.0/
Expand Down Expand Up @@ -581,3 +581,4 @@ custom:
0.367.0: 'New resource(s) added: pw_division,pw_dyn_dreammp,pw_dyn_dreamvote,pw_dyn_wiki_motion,pw_moffice,pw_mp,pw_vote'
0.368.0: 'New resource(s) added: pw_division,pw_dyn_dreammp,pw_dyn_dreamvote,pw_dyn_wiki_motion,pw_moffice,pw_mp,pw_vote'
0.369.0: 'New resource(s) added: pw_division,pw_dyn_dreammp,pw_dyn_dreamvote,pw_dyn_wiki_motion,pw_moffice,pw_mp,pw_vote'
0.370.0: 'New resource(s) added: pw_division,pw_dyn_dreammp,pw_dyn_dreamvote,pw_dyn_wiki_motion,pw_moffice,pw_mp,pw_vote'
2 changes: 1 addition & 1 deletion data/packages/public_whip_data/pw_division.resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ schema:
constraints:
unique: false
example: ''
hash: 50c2de45858dbf06a0639178316baf62
hash: ba6da785e6fba7544d5cf14a0e3ec770
4 changes: 2 additions & 2 deletions data/packages/public_whip_data/pw_moffice.resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ schema:
description: ID of ministerial office
constraints:
unique: true
example: 77321583
example: 77343487
- name: dept
type: string
description: Department of ministerial office
Expand Down Expand Up @@ -56,4 +56,4 @@ schema:
enum:
- ''
example: ''
hash: ab746a3718b40f06ec210381851ef94b
hash: 71a3fb49875a503523dd6c9f2d8118c0
4 changes: 2 additions & 2 deletions data/packages/public_whip_data/pw_vote.resource.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Vote data table
description: Datatable of votes
custom:
row_count: 4423148
row_count: 4423149
path: pw_vote.parquet
name: pw_vote
profile: data-resource
Expand Down Expand Up @@ -37,4 +37,4 @@ schema:
- tellaye
- tellno
example: abstention
hash: 6ccdc82cb1b00ea9ebc7bf11e2c81895
hash: 8873b72b9d4d9fddb03c2fb8986ebe37
584 changes: 584 additions & 0 deletions data/packages/public_whip_data/versions/0.370.0/datapackage.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
title: Divisions
description: Division data table
custom:
row_count: 13288
path: pw_division.parquet
name: pw_division
profile: data-resource
scheme: file
format: parquet
hashing: md5
encoding: utf-8
schema:
fields:
- name: division_id
type: integer
description: ID of division
constraints:
unique: true
example: 10387
- name: valid
type: integer
description: Validity of division (Always true)
constraints:
unique: false
enum:
- 1
example: 1
- name: division_date
type: string
description: Date of division
constraints:
unique: false
example: '1997-05-19'
- name: division_number
type: integer
description: Division number
constraints:
unique: false
example: 0
- name: division_name
type: string
description: Division name
constraints:
unique: false
example: '"Duration of planning permission and consent'
- name: source_url
type: string
description: URL of source
constraints:
unique: false
example: ''
- name: motion
type: string
description: HTML text of motion
constraints:
unique: false
example: "<p class=\"\" pid=\".1002.1/1\" pwmotiontext=\"yes\">I beg to move amendment\
\ No. 22, in page 3, line 20, at end insert&#8212;</p>\n\n<p class=\"\" pid=\"\
.1002.1/2\" pwmotiontext=\"yes\">'(6A) In subsection (5) (motion for resolution\
\ not to be moved unless certain conditions are satisfied), for \"Presiding\
\ Officer in pursuance of a notice\" there is substituted \"Secretary of State\"\
.'.</p>\n\n<p pid=\".1008.4/1\" pwmotiontext=\"yes\"><i>Motion made, and Question\
\ put,</i> That the clause stand part of the Bill:&#8212;</p>\n\n<p pid=\".1008.4/2\"\
\ pwmotiontext=\"yes\"><i>The Committee divided:</i> Ayes 338, Noes 8.</p>"
- name: notes
type: string
description: Text of any associated database notes
constraints:
unique: false
enum:
- ''
example: ''
- name: debate_url
type: string
description: URL of debate
constraints:
unique: false
example: ''
- name: source_gid
type: string
description: GID of source
constraints:
unique: false
example: ''
- name: debate_gid
type: string
description: GID of debate
constraints:
unique: false
example: ''
- name: house
type: string
description: Which house the division was in
constraints:
unique: false
enum:
- commons
- lords
- scotland
example: commons
- name: clock_time
type: string
description: Time of division
constraints:
unique: false
example: ''
hash: ba6da785e6fba7544d5cf14a0e3ec770
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
title: Dream MP data table
description: Datatable of 'dream MPs', user created to compare actual MPs to (powers
TWFY policy lines)
custom:
row_count: 6975
path: pw_dyn_dreammp.parquet
name: pw_dyn_dreammp
profile: data-resource
scheme: file
format: parquet
hashing: md5
encoding: utf-8
schema:
fields:
- name: dream_id
type: integer
description: ID of dream MP
constraints:
unique: true
example: 1
- name: name
type: string
description: Name of dream MP
constraints:
unique: false
example: ' unofficial Nationalist party'
- name: user_id
type: integer
description: ID of user who created dream MP
constraints:
unique: false
example: 1
- name: description
type: string
description: Description of dream MP
constraints:
unique: false
example: "\r\nDefinition: This new left of centre party stands for Equality, Social\
\ Justice, Trade Unionism, Solidarity, Internationalism and Progressivism. \r\
\n"
- name: private
type: integer
description: Whether dream MP is private or visible on site
constraints:
unique: false
enum:
- 0
- 1
- 2
example: 0
hash: 22a9374b9f4b089a2ee0e606fbd0a89d
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
title: Dream vote data table
description: Connection of vote alignment to dream MP
custom:
row_count: 14829
path: pw_dyn_dreamvote.parquet
name: pw_dyn_dreamvote
profile: data-resource
scheme: file
format: parquet
hashing: md5
encoding: utf-8
schema:
fields:
- name: division_date
type: string
description: Date of division
constraints:
unique: false
example: '1997-05-19'
- name: division_number
type: integer
description: Division number
constraints:
unique: false
example: 0
- name: dream_id
type: integer
description: ID of dream MP
constraints:
unique: false
example: 1
- name: vote
type: string
description: Vote of MP
constraints:
unique: false
enum:
- aye
- aye3
- both
- 'no'
- no3
example: aye
- name: house
type: string
description: House of MP
constraints:
unique: false
enum:
- commons
- lords
- scotland
example: commons
hash: 46cbcf912a0a3f3a55ec986ec00b4ad2
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
title: Motion data table
description: Datatable of motions edited in wiki
custom:
row_count: 10603
path: pw_dyn_wiki_motion.parquet
name: pw_dyn_wiki_motion
profile: data-resource
scheme: file
format: parquet
hashing: md5
encoding: utf-8
schema:
fields:
- name: wiki_id
type: integer
description: ID of wiki motion
constraints:
unique: true
example: 1
- name: text_body
type: string
description: Text of motion
constraints:
unique: false
example: "\r\n\r\n--- MOTION EFFECT ---\r\n\r\nThe Aye-voters set to the timetable\
\ for the <a href=\"http://www.publications.parliament.uk/pa/cm/cmstand.htm\"\
> Standing Committee</a> to complete its scrutiny of the <a href=\"http://www.publications.parliament.uk/pa/cm200405/cmbills/010/2005010.htm\"\
> Road Safety Bill</a> by Thursday 3rd February 2005.\r\n\r\nOnce it returns\
\ to the House and its amendments have been accepted, there is a Third Reading\
\ Debate, after which the Bill is sent to the House of Lords before it becomes\
\ law.\r\n\r\n<a href=\"http://www.dft.gov.uk/stellent/groups/dft_rdsafety/documents/divisionhomepage/033678.hcsp>\
\ Detailed documentation on this bill can be found at the Department for Transport.\
\ </a>\r\n\r\n\r\n--- COMMENTS AND NOTES ---\r\n\r\n<p class=\"italic\">Motion\
\ made, and Question put forthwith, pursuant to Standing Order No. 83A(6),</p>\r\
\n\r\n<p class=\"indent\">That the following provisions shall apply to the Road\
\ Safety Bill:</p>\r\n\r\n<p class=\"indentitalic\">Committal</p>\r\n\r\n<p\
\ class=\"indent\">1. The Bill shall be committed to a Standing Committee.</p>\r\
\n\r\n<p class=\"indentitalic\">Proceedings in Standing Committee</p>\r\n\r\n\
<p class=\"indent\">2. Proceedings in the Standing Committee shall (so far as\
\ not previously concluded) be brought to a conclusion on Thursday 3rd February\
\ 2005.</p>\r\n\r\n<p class=\"indent\">3. The Standing Committee shall have\
\ leave to sit twice on the first day on which it meets.</p>\r\n\r\n<p class=\"\
indentitalic\">Consideration and Third Reading</p>\r\n\r\n<p class=\"indent\"\
>4. Proceedings on consideration shall (so far as not previously concluded)\
\ be brought to a conclusion one hour before the moment of interruption on the\
\ day on which those proceedings are commenced.</p>\r\n\r\n<p class=\"indent\"\
>5. Proceedings on Third Reading shall (so far as not previously concluded)\
\ be brought to a conclusion at the moment of interruption on that day.</p>\r\
\n\r\n<p class=\"indentitalic\">Programming Committee</p>\r\n\r\n<p class=\"\
indent\">6. Standing Order No. 83B (Programming committees) shall not apply\
\ to proceedings on consideration and Third Reading.</p>\r\n\r\n<p class=\"\
indentitalic\">Other proceedings</p>\r\n\r\n<p class=\"indent\">7. Any other\
\ proceedings on the Bill (including any proceedings on consideration of Lords\
\ Amendments or on any further messages from the Lords) may be programmed. &#8212;<i>[Mr.\
\ Watson</i>.<i>]</i></p>\r\n\r\n<p><i>The House divided:</i> Ayes 330, Noes\
\ 161.</p>\r\n\r\n"
- name: user_id
type: integer
description: ID of user who edited the motion
constraints:
unique: false
example: 1
- name: edit_date
type: string
description: Date of edit
constraints:
unique: false
example: '2005-01-15 15:09:24'
- name: division_date
type: string
description: Date of division
constraints:
unique: false
example: '1997-05-19'
- name: division_number
type: integer
description: Number of division
constraints:
unique: false
example: 1
- name: house
type: string
description: House of parliament
constraints:
unique: false
enum:
- commons
- lords
example: commons
hash: 4bb066cb217b4eca5f1b433759a724e0
Loading

0 comments on commit 6fcc95c

Please sign in to comment.