Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into main
  • Loading branch information
ajparsons committed Dec 23, 2024
2 parents 8f8034c + 0304067 commit 44d63fb
Show file tree
Hide file tree
Showing 16 changed files with 264 additions and 234 deletions.
22 changes: 9 additions & 13 deletions data/packages/parliamentary_motions/agreements.resource.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Agreements
description: dataset of agreements extracted from parliamentary debates
custom:
row_count: 3972
row_count: 5387
path: agreements.parquet
name: agreements
profile: data-resource
Expand All @@ -16,19 +16,19 @@ schema:
description: unique identifier for the agreement - debate gid plus paragraph pid
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-07c.121.0.8
example: uk.org.publicwhip/debate/2001-10-24.380.1.18
- name: date
type: string
description: date of the debate
constraints:
unique: false
example: '2019-01-07'
example: '2001-10-24'
- name: major_heading_id
type: string
description: ID of the major heading (if relevant)
constraints:
unique: false
example: uk.org.publicwhip/debate/2019-01-07c.137.1
example: ''
- name: minor_heading_id
type: string
description: ID of the minor heading (if relevant)
Expand All @@ -40,23 +40,19 @@ schema:
description: ID of the speech containing the agreement
constraints:
unique: false
example: uk.org.publicwhip/debate/2019-01-07c.121.0
example: uk.org.publicwhip/debate/2001-10-24.380.1
- name: paragraph_pid
type: string
description: paragraph ID of the agreement
constraints:
unique: false
example: a100.1/12
example: .100.4/3
- name: agreed_text
type: string
description: Text that contains the agreement
constraints:
unique: false
example: '(2) That a further day not later than 5 August be allotted for the consideration
of the following Estimate for financial year 2021-22: Foreign, Commonwealth
and Development Office, insofar as it relates to the spending of the Foreign,
Commonwealth and Development Office on Official Development Assistance and the
British Council.—(David Rutley.) Question agreed to.'
example: ' Question put and agreed to .'
- name: motion_title
type: string
description: Title of the motion
Expand All @@ -68,7 +64,7 @@ schema:
description: ID of the motion
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-07c.114.0.2
example: uk.org.publicwhip/debate/2001-10-24.328.3.1
- name: chamber
type: string
description: Chamber in which the agreement was made
Expand All @@ -84,4 +80,4 @@ schema:
constraints:
unique: false
example: 'False'
hash: 4bbc399906f047b30967981927e160ac
hash: 4c407a84b361ac7fc4b34cb5ba55987f
2 changes: 1 addition & 1 deletion data/packages/parliamentary_motions/datapackage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ custom:
exclude: none
render: true
change_log:
0.1.0: 'Minor change in data for resource(s): agreements,division-links,motions'
0.1.0: 'Change in data for resource(s): agreements,division-links,motions'
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Division Links
description: Lookup between GID for a division and the relevant motion
custom:
row_count: 1636
row_count: 2555
path: division-links.parquet
name: division-links
profile: data-resource
Expand All @@ -16,13 +16,13 @@ schema:
description: GID of the division
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-08b.243.1
example: uk.org.publicwhip/debate/2001-10-24.325.0
- name: motion_gid
type: string
description: GID of the motion
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-08b.212.3.1
example: uk.org.publicwhip/debate/2001-10-24.321.1.1
- name: chamber
type: string
description: Chamber in which the motion was made
Expand All @@ -32,4 +32,4 @@ schema:
- house-of-commons
- scottish-parliament
example: house-of-commons
hash: f4b5e6ec1bf6efa4fd52f9bf1ed5d1d5
hash: d3bf300149192b0133bbd86e8d3b5626
51 changes: 30 additions & 21 deletions data/packages/parliamentary_motions/motions.resource.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Motions
description: Motions extracted from parliamentary debates
custom:
row_count: 5608
row_count: 7942
path: motions.parquet
name: motions
profile: data-resource
Expand All @@ -16,19 +16,19 @@ schema:
description: unique identifier for the motion - debate gid plus paragraph pid
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-07c.114.0.2
example: uk.org.publicwhip/debate/2001-10-24.321.1.1
- name: speech_id
type: string
description: ID of the speech containing the motion (or the first entry)
constraints:
unique: false
example: uk.org.publicwhip/debate/2019-01-07c.114.0
example: uk.org.publicwhip/debate/2001-10-24.321.1
- name: date
type: string
description: date of the debate
constraints:
unique: false
example: '2019-01-07'
example: '2001-10-24'
- name: motion_title
type: string
description: Title of the motion
Expand All @@ -40,22 +40,31 @@ schema:
description: Text of the motion
constraints:
unique: false
example: " As an amendment to motion S6M-15086 in the name of Kenneth Gibson\
\ (Scotland’s Commissioner Landscape), leave out from \"; agrees with\"\
\ to end and insert \", and notes the recommendation that a dedicated committee\
\ should be established to carry out a 'root and branch' review, to be concluded\
\ by June 2025, with the purpose of creating a clear strategic framework to\
\ underpin and provide more coherence and structure to the Scottish Parliamentary\
\ Corporate Body (SPCB) supported body landscape.\" \n\nOriginal motion(S6M-15086):\n\
That the Parliament welcomes the Finance and Public Administration Committee’s\
\ 7th Report, 2024 (Session 6), Scotland’s Commissioner Landscape:\
\ A Strategic Approach (SP Paper 642); agrees with the recommendation that\
\ a dedicated committee should be established to carry out a \"root and branch\"\
\ review, with the purpose of creating a clear strategic framework to underpin\
\ and provide more coherence and structure to the Scottish Parliamentary Corporate\
\ Body (SPCB) supported body landscape, and further agrees that, while this\
\ review is undertaken, there should be a moratorium on creating any new SPCB\
\ supported bodies, or expanding the remit of existing bodies."
example: " Question put (Standing Order No. 31(2)), That the original words stand\
\ part of the Question.\nAmendment:\nI beg to move an amendment, to leave out\
\ from \"House\" to the end of the Question and add:\n\"notes the appalling\
\ fiscal deficit left by the last Government and reiterates the urgent need\
\ to restore the nation to economic health; recognises that the police will\
\ need to play their part in reducing that deficit; and welcomes the Government's\
\ proposed policing reforms, which will deliver a more responsive and efficient\
\ police service, less encumbered by bureaucracy, more accountable to the public\
\ and, most importantly, better equipped to fight crime.\"\nOriginal words:\n\
I beg to move,\nThat this House notes with concern the Government's failure\
\ to prioritise the safety of communities by not protecting central Government\
\ funding for the police; notes the conclusion of the Audit Commission and HM\
\ Inspectorate of Constabulary that any budget reduction over 12 per cent. will\
\ reduce frontline policing; pays tribute to the police and other agencies for\
\ achieving a 43 per cent. reduction in crime, including a 42 per cent. cut\
\ in violent crime, since 1997, and for maintaining that reduction through last\
\ year's recession; notes that public perception of anti-social behaviour is\
\ at its lowest level since it was recorded in the British Crime Survey of 2001-02;\
\ further notes that the previous Government set out plans in its Policing White\
\ Paper to drive down policing costs whilst maintaining core funding; and condemns\
\ the Government's policy of reducing police numbers, restricting police powers\
\ and imposing elected commissioners to replace police authorities, thus condemning\
\ the police service to unnecessary, unwelcome and costly re-structuring at\
\ a time when their focus should be on maintaining the fall in crime and anti-social\
\ behaviour."
- name: chamber
type: string
description: Chamber in which the motion was made
Expand All @@ -65,4 +74,4 @@ schema:
- house-of-commons
- scottish-parliament
example: house-of-commons
hash: 2033f7c1f2e2faecdc5c09ff753a1632
hash: ae822a5e428cb9d46bfeac59c8c69f7c
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Agreements
description: dataset of agreements extracted from parliamentary debates
custom:
row_count: 3972
row_count: 5387
path: agreements.parquet
name: agreements
profile: data-resource
Expand All @@ -16,19 +16,19 @@ schema:
description: unique identifier for the agreement - debate gid plus paragraph pid
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-07c.121.0.8
example: uk.org.publicwhip/debate/2001-10-24.380.1.18
- name: date
type: string
description: date of the debate
constraints:
unique: false
example: '2019-01-07'
example: '2001-10-24'
- name: major_heading_id
type: string
description: ID of the major heading (if relevant)
constraints:
unique: false
example: uk.org.publicwhip/debate/2019-01-07c.137.1
example: ''
- name: minor_heading_id
type: string
description: ID of the minor heading (if relevant)
Expand All @@ -40,23 +40,19 @@ schema:
description: ID of the speech containing the agreement
constraints:
unique: false
example: uk.org.publicwhip/debate/2019-01-07c.121.0
example: uk.org.publicwhip/debate/2001-10-24.380.1
- name: paragraph_pid
type: string
description: paragraph ID of the agreement
constraints:
unique: false
example: a100.1/12
example: .100.4/3
- name: agreed_text
type: string
description: Text that contains the agreement
constraints:
unique: false
example: '(2) That a further day not later than 5 August be allotted for the consideration
of the following Estimate for financial year 2021-22: Foreign, Commonwealth
and Development Office, insofar as it relates to the spending of the Foreign,
Commonwealth and Development Office on Official Development Assistance and the
British Council.—(David Rutley.) Question agreed to.'
example: ' Question put and agreed to .'
- name: motion_title
type: string
description: Title of the motion
Expand All @@ -68,7 +64,7 @@ schema:
description: ID of the motion
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-07c.114.0.2
example: uk.org.publicwhip/debate/2001-10-24.328.3.1
- name: chamber
type: string
description: Chamber in which the agreement was made
Expand All @@ -84,4 +80,4 @@ schema:
constraints:
unique: false
example: 'False'
hash: 4bbc399906f047b30967981927e160ac
hash: 4c407a84b361ac7fc4b34cb5ba55987f
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ custom:
exclude: none
render: true
change_log:
0.1.0: 'Minor change in data for resource(s): agreements,division-links,motions'
0.1.0: 'Change in data for resource(s): agreements,division-links,motions'
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Division Links
description: Lookup between GID for a division and the relevant motion
custom:
row_count: 1636
row_count: 2555
path: division-links.parquet
name: division-links
profile: data-resource
Expand All @@ -16,13 +16,13 @@ schema:
description: GID of the division
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-08b.243.1
example: uk.org.publicwhip/debate/2001-10-24.325.0
- name: motion_gid
type: string
description: GID of the motion
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-08b.212.3.1
example: uk.org.publicwhip/debate/2001-10-24.321.1.1
- name: chamber
type: string
description: Chamber in which the motion was made
Expand All @@ -32,4 +32,4 @@ schema:
- house-of-commons
- scottish-parliament
example: house-of-commons
hash: f4b5e6ec1bf6efa4fd52f9bf1ed5d1d5
hash: d3bf300149192b0133bbd86e8d3b5626
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
title: Motions
description: Motions extracted from parliamentary debates
custom:
row_count: 5608
row_count: 7942
path: motions.parquet
name: motions
profile: data-resource
Expand All @@ -16,19 +16,19 @@ schema:
description: unique identifier for the motion - debate gid plus paragraph pid
constraints:
unique: true
example: uk.org.publicwhip/debate/2019-01-07c.114.0.2
example: uk.org.publicwhip/debate/2001-10-24.321.1.1
- name: speech_id
type: string
description: ID of the speech containing the motion (or the first entry)
constraints:
unique: false
example: uk.org.publicwhip/debate/2019-01-07c.114.0
example: uk.org.publicwhip/debate/2001-10-24.321.1
- name: date
type: string
description: date of the debate
constraints:
unique: false
example: '2019-01-07'
example: '2001-10-24'
- name: motion_title
type: string
description: Title of the motion
Expand All @@ -40,22 +40,31 @@ schema:
description: Text of the motion
constraints:
unique: false
example: " As an amendment to motion S6M-15086 in the name of Kenneth Gibson\
\ (Scotland’s Commissioner Landscape), leave out from \"; agrees with\"\
\ to end and insert \", and notes the recommendation that a dedicated committee\
\ should be established to carry out a 'root and branch' review, to be concluded\
\ by June 2025, with the purpose of creating a clear strategic framework to\
\ underpin and provide more coherence and structure to the Scottish Parliamentary\
\ Corporate Body (SPCB) supported body landscape.\" \n\nOriginal motion(S6M-15086):\n\
That the Parliament welcomes the Finance and Public Administration Committee’s\
\ 7th Report, 2024 (Session 6), Scotland’s Commissioner Landscape:\
\ A Strategic Approach (SP Paper 642); agrees with the recommendation that\
\ a dedicated committee should be established to carry out a \"root and branch\"\
\ review, with the purpose of creating a clear strategic framework to underpin\
\ and provide more coherence and structure to the Scottish Parliamentary Corporate\
\ Body (SPCB) supported body landscape, and further agrees that, while this\
\ review is undertaken, there should be a moratorium on creating any new SPCB\
\ supported bodies, or expanding the remit of existing bodies."
example: " Question put (Standing Order No. 31(2)), That the original words stand\
\ part of the Question.\nAmendment:\nI beg to move an amendment, to leave out\
\ from \"House\" to the end of the Question and add:\n\"notes the appalling\
\ fiscal deficit left by the last Government and reiterates the urgent need\
\ to restore the nation to economic health; recognises that the police will\
\ need to play their part in reducing that deficit; and welcomes the Government's\
\ proposed policing reforms, which will deliver a more responsive and efficient\
\ police service, less encumbered by bureaucracy, more accountable to the public\
\ and, most importantly, better equipped to fight crime.\"\nOriginal words:\n\
I beg to move,\nThat this House notes with concern the Government's failure\
\ to prioritise the safety of communities by not protecting central Government\
\ funding for the police; notes the conclusion of the Audit Commission and HM\
\ Inspectorate of Constabulary that any budget reduction over 12 per cent. will\
\ reduce frontline policing; pays tribute to the police and other agencies for\
\ achieving a 43 per cent. reduction in crime, including a 42 per cent. cut\
\ in violent crime, since 1997, and for maintaining that reduction through last\
\ year's recession; notes that public perception of anti-social behaviour is\
\ at its lowest level since it was recorded in the British Crime Survey of 2001-02;\
\ further notes that the previous Government set out plans in its Policing White\
\ Paper to drive down policing costs whilst maintaining core funding; and condemns\
\ the Government's policy of reducing police numbers, restricting police powers\
\ and imposing elected commissioners to replace police authorities, thus condemning\
\ the police service to unnecessary, unwelcome and costly re-structuring at\
\ a time when their focus should be on maintaining the fall in crime and anti-social\
\ behaviour."
- name: chamber
type: string
description: Chamber in which the motion was made
Expand All @@ -65,4 +74,4 @@ schema:
- house-of-commons
- scottish-parliament
example: house-of-commons
hash: 2033f7c1f2e2faecdc5c09ff753a1632
hash: ae822a5e428cb9d46bfeac59c8c69f7c
Binary file not shown.
Loading

0 comments on commit 44d63fb

Please sign in to comment.