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 Aug 20, 2024
1 parent c03976f commit 870fe73
Show file tree
Hide file tree
Showing 38 changed files with 2,920 additions and 32 deletions.
Binary file modified data/data_packages/commons_rmfi/category_2.parquet
Binary file not shown.
2 changes: 1 addition & 1 deletion data/data_packages/commons_rmfi/category_2.resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@ schema:
enum:
- '2'
example: '2'
hash: 47c50e1dd9dc9f39ee3d54f7aba2ec4c
hash: 6fc7b789dea9e4f0d83296e6c4e64bfb
Binary file modified data/data_packages/commons_rmfi/category_3.parquet
Binary file not shown.
2 changes: 1 addition & 1 deletion data/data_packages/commons_rmfi/category_3.resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,4 @@ schema:
enum:
- '3'
example: '3'
hash: a81ab51d6cf250540450ecddc76c4968
hash: acb28055a202bbef14df1c775f3c5556
Binary file modified data/data_packages/commons_rmfi/category_4.parquet
Binary file not shown.
20 changes: 10 additions & 10 deletions data/data_packages/commons_rmfi/category_4.resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ schema:
description: Description of the payment
constraints:
unique: false
example: "A four night trip to Israel for my husband and I including\r\nflights\
example: "A four night trip to Israel for my husband and I including\nflights\
\ (£989.74 for two return flights to Tel Aviv), accommodation, meals and visits\
\ within Israel (£26,811.53)"
- name: donors_1__value
Expand Down Expand Up @@ -319,10 +319,10 @@ schema:
description: Description of the payment
constraints:
unique: false
example: "Flights: £500 (Cyprus Premier)\r\nAccommodation (for three nights):\
\ £300 (The Arkin Group)\r\nSubsistence (across three days): £350 (The Turkish\
\ Cypriot Chamber of Commerce, the British Residents Society, Turkish Airlines).\r\
\nTotal: £1,150"
example: "Flights: £500 (Cyprus Premier)\nAccommodation (for three nights): £300\
\ (The Arkin Group)\nSubsistence (across three days): £350 (The Turkish Cypriot\
\ Chamber of Commerce, the British Residents Society, Turkish Airlines).\nTotal:\
\ £1,150"
- name: donors_4__value
type: number
description: Value of the payment
Expand Down Expand Up @@ -364,10 +364,10 @@ schema:
description: Description of the payment
constraints:
unique: false
example: "Flights: £500 (Cyprus Premier)\r\nAccommodation (for three nights):\
\ £300 (The Arkin Group)\r\nSubsistence (across three days): £350 (The Turkish\
\ Cypriot Chamber of Commerce, the British Residents Society, Turkish Airlines).\r\
\nTotal: £1,150"
example: "Flights: £500 (Cyprus Premier)\nAccommodation (for three nights): £300\
\ (The Arkin Group)\nSubsistence (across three days): £350 (The Turkish Cypriot\
\ Chamber of Commerce, the British Residents Society, Turkish Airlines).\nTotal:\
\ £1,150"
- name: donors_5__value
type: number
description: Value of the payment
Expand Down Expand Up @@ -400,4 +400,4 @@ schema:
enum:
- '4'
example: '4'
hash: 21dbbe08f3aeb4ad4d3a8b92cbc1fac9
hash: f68fede7f6ed2063ec7ced4fc6ee9b9a
Binary file modified data/data_packages/commons_rmfi/category_8.parquet
Binary file not shown.
2 changes: 1 addition & 1 deletion data/data_packages/commons_rmfi/category_8.resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ schema:
enum:
- '8'
example: '8'
hash: 3ec56a3951cc28eaedc1e6b45929d13e
hash: 2c224709e7e31c8b4841b235aa6b79ae
34 changes: 16 additions & 18 deletions data/data_packages/commons_rmfi/datapackage.yaml
Original file line number Diff line number Diff line change
@@ -1,28 +1,25 @@
name: commons_rmfi
title: UK House of Commons Register of Members' Financial Interests
description : |
Reformat of the [new bulk data release](https://publications.parliament.uk/pa/cm/cmregmem/contents2425.htm) of the UK House of Commons Register of Members' Financial Interests.
TheyWorkForYou IDs and party added.
Experimental release. Expect to change columns and add more transformations.
description: "Reformat of the [new bulk data release](https://publications.parliament.uk/pa/cm/cmregmem/contents2425.htm)\
\ of the UK House of Commons Register of Members' Financial Interests.\nTheyWorkForYou\
\ IDs and party added.\nExperimental release. Expect to change columns and add more\
\ transformations. \n"
version: 0.1.0
licenses:

- name: CC-BY-4.0
path: https://creativecommons.org/licenses/by/4.0/
title: Creative Commons Attribution 4.0 International License

- 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://www.parliament.uk/
role: author
- title: mySociety
path: https://mysociety.org
role: author

- title: UK Parliament
path: https://www.parliament.uk/
role: author
- title: mySociety
path: https://mysociety.org
role: author
custom:
build: parl_register_interests.__main__:download_and_build_official
tests:
- test_uk_parliament_register_data
- test_uk_parliament_register_data
dataset_order: 0
download_options:
gate: default
Expand All @@ -47,4 +44,5 @@ custom:
include: all
exclude: none
render: true

change_log:
0.1.0: Don't need to increment, first version
Binary file modified data/data_packages/commons_rmfi/overall.parquet
Binary file not shown.
2 changes: 1 addition & 1 deletion data/data_packages/commons_rmfi/overall.resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ schema:
constraints:
unique: false
example: 1900 Club - £2,500.00
hash: 9c59444350ccf2e1932a9c49deb925ad
hash: a808f327e630d138a9b517934391c8a6
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
title: Category 1.1
description: Employment and earnings - Ad hoc payments
custom:
row_count: 383
path: category_1.1.parquet
name: category_1.1
profile: data-resource
scheme: file
format: parquet
hashing: md5
encoding: utf-8
schema:
fields:
- name: id
type: integer
description: Unique identifier for the interest
constraints:
unique: true
example: 3639
- name: parent_interest_id
type: integer
description: Unique identifier for the parent interest
constraints:
unique: false
example: 3636
- name: summary
type: string
description: Text summary of the interest
constraints:
unique: false
example: Payment expected for services on 01 July 2022 - £4,331.96
- name: registration_date
type: string
description: Date the interest was registered
constraints:
unique: false
example: '2022-09-22'
- name: published_date
type: string
description: Date the interest was published
constraints:
unique: false
example: '2024-03-12'
- name: updated_date
type: string
description: Date the interest was last updated
constraints:
unique: false
enum:
- ''
example: ''
- name: category
type: string
description: Category of the interest
constraints:
unique: false
enum:
- Employment and earnings - Ad hoc payments
example: Employment and earnings - Ad hoc payments
- name: party
type: string
description: TWFY ID for the party as of this release date
constraints:
unique: false
enum:
- conservative
- dup
- green
- labour
- labourco-operative
- liberal-democrat
- plaid-cymru
- reform
- scottish-national-party
example: conservative
- name: member
type: string
description: Name of the MP
constraints:
unique: false
example: Adam Thompson
- name: mnis_id
type: integer
description: Parliament's unique identifier for the member
constraints:
unique: false
example: 40
- name: twfy_id
type: string
description: TheyWorkForYou ID for the member
constraints:
unique: false
example: '10001'
- name: payment_received
type: boolean
description: Whether there was a payment received
constraints:
unique: false
enum:
- false
- true
example: 'False'
- name: received_date
type: string
description: Date the payment was received
constraints:
unique: false
example: '1994-04-12'
- name: job_title
type: string
description: Job the MP was paid for
constraints:
unique: false
example: for a radio recording of a book.
- name: payment_type
type: string
description: Type of payment
constraints:
unique: false
enum:
- In kind
- Monetary
example: In kind
- name: payment_description
type: string
description: Description of the payment
constraints:
unique: false
example: (Includes 15% to be deducted for Chambers fee)
- name: value
type: number
description: Value of the payment (£)
constraints:
unique: false
example: 36.78
- name: hours_worked
type: number
description: Hours worked for the payment
constraints:
unique: false
example: 0.0
- name: hours_details
type: string
description: Details of the hours worked
constraints:
unique: false
example: (Estimated hours worked for preparation to appear at trial)
- name: is_ultimate_payer_different
type: boolean
description: Whether the ultimate payer is different
constraints:
unique: false
enum:
- false
- true
example: 'False'
- name: ultimate_payer_name
type: string
description: Name of the ultimate payer
constraints:
unique: false
example: 1LoD Ltd
- name: ultimate_payer_protected_by_confidentiality
type: boolean
description: Whether the ultimate payer is protected by confidentiality
constraints:
unique: false
enum:
- false
- true
example: 'False'
- name: ultimate_payer_address
type: string
description: Address of the ultimate payer
constraints:
unique: false
example: 100 Bishopsgate, London EC2P 2SR
- name: ultimate_payer_nature_of_business
type: string
description: Nature of business of the ultimate payer
constraints:
unique: false
example: Crowdfunded small campaign collective
- name: is_payment_donated
type: boolean
description: Whether the payment was donated
constraints:
unique: false
enum:
- false
- true
example: 'False'
- name: donatee_paid_by
type: string
description: Who the payment was donated to
constraints:
unique: false
example: Donated by the Member to the recipient
- name: donatee_type
type: string
description: Type of the donatee
constraints:
unique: false
example: Charity
- name: donatee_details
type: string
description: Details of the donatee
constraints:
unique: false
example: Fee allocated to my staffing budget.
- name: category_code
type: string
description: Code for the category of the interest
constraints:
unique: false
enum:
- '1.1'
example: '1.1'
hash: a4c9e0c128da6a5ff1ee108be0f079f4
Binary file not shown.
Loading

0 comments on commit 870fe73

Please sign in to comment.