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 8, 2024
1 parent 6fcc95c commit 009fdab
Show file tree
Hide file tree
Showing 12 changed files with 1,100 additions and 7 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.370.0
version: 0.371.0
licenses:
- name: CC-BY-4.0
path: https://creativecommons.org/licenses/by/4.0/
Expand Down Expand Up @@ -582,3 +582,4 @@ custom:
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'
0.371.0: 'New resource(s) added: pw_division,pw_dyn_dreammp,pw_dyn_dreamvote,pw_dyn_wiki_motion,pw_moffice,pw_mp,pw_vote'
4 changes: 2 additions & 2 deletions data/packages/public_whip_data/pw_division.resource.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Divisions
description: Division data table
custom:
row_count: 13288
row_count: 13289
path: pw_division.parquet
name: pw_division
profile: data-resource
Expand Down Expand Up @@ -104,4 +104,4 @@ schema:
constraints:
unique: false
example: ''
hash: ba6da785e6fba7544d5cf14a0e3ec770
hash: 9d1be8601e09524764f93b0941c46809
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: 77343487
example: 77365391
- name: dept
type: string
description: Department of ministerial office
Expand Down Expand Up @@ -56,4 +56,4 @@ schema:
enum:
- ''
example: ''
hash: 71a3fb49875a503523dd6c9f2d8118c0
hash: 35f4108a45bcbb59b0ceae7237ece45e
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: 4423149
row_count: 4423202
path: pw_vote.parquet
name: pw_vote
profile: data-resource
Expand Down Expand Up @@ -37,4 +37,4 @@ schema:
- tellaye
- tellno
example: abstention
hash: 8873b72b9d4d9fddb03c2fb8986ebe37
hash: 9e63635bee727c6eb6312ce917ca9817
585 changes: 585 additions & 0 deletions data/packages/public_whip_data/versions/0.371.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: 13289
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: 9d1be8601e09524764f93b0941c46809
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 009fdab

Please sign in to comment.