diff --git a/data/data_packages/commons_rmfi/category_2.parquet b/data/data_packages/commons_rmfi/category_2.parquet index de6fcb7..23fd1e8 100644 Binary files a/data/data_packages/commons_rmfi/category_2.parquet and b/data/data_packages/commons_rmfi/category_2.parquet differ diff --git a/data/data_packages/commons_rmfi/category_2.resource.yaml b/data/data_packages/commons_rmfi/category_2.resource.yaml index 90d849f..401ee1b 100644 --- a/data/data_packages/commons_rmfi/category_2.resource.yaml +++ b/data/data_packages/commons_rmfi/category_2.resource.yaml @@ -225,4 +225,4 @@ schema: enum: - '2' example: '2' -hash: 47c50e1dd9dc9f39ee3d54f7aba2ec4c +hash: 6fc7b789dea9e4f0d83296e6c4e64bfb diff --git a/data/data_packages/commons_rmfi/category_3.parquet b/data/data_packages/commons_rmfi/category_3.parquet index e689c68..131aa27 100644 Binary files a/data/data_packages/commons_rmfi/category_3.parquet and b/data/data_packages/commons_rmfi/category_3.parquet differ diff --git a/data/data_packages/commons_rmfi/category_3.resource.yaml b/data/data_packages/commons_rmfi/category_3.resource.yaml index 932d173..4729e75 100644 --- a/data/data_packages/commons_rmfi/category_3.resource.yaml +++ b/data/data_packages/commons_rmfi/category_3.resource.yaml @@ -213,4 +213,4 @@ schema: enum: - '3' example: '3' -hash: a81ab51d6cf250540450ecddc76c4968 +hash: acb28055a202bbef14df1c775f3c5556 diff --git a/data/data_packages/commons_rmfi/category_4.parquet b/data/data_packages/commons_rmfi/category_4.parquet index c3450bb..77f1be9 100644 Binary files a/data/data_packages/commons_rmfi/category_4.parquet and b/data/data_packages/commons_rmfi/category_4.parquet differ diff --git a/data/data_packages/commons_rmfi/category_4.resource.yaml b/data/data_packages/commons_rmfi/category_4.resource.yaml index d0214f6..a9bcba6 100644 --- a/data/data_packages/commons_rmfi/category_4.resource.yaml +++ b/data/data_packages/commons_rmfi/category_4.resource.yaml @@ -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 @@ -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 @@ -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 @@ -400,4 +400,4 @@ schema: enum: - '4' example: '4' -hash: 21dbbe08f3aeb4ad4d3a8b92cbc1fac9 +hash: f68fede7f6ed2063ec7ced4fc6ee9b9a diff --git a/data/data_packages/commons_rmfi/category_8.parquet b/data/data_packages/commons_rmfi/category_8.parquet index d6ae141..b0c7fd9 100644 Binary files a/data/data_packages/commons_rmfi/category_8.parquet and b/data/data_packages/commons_rmfi/category_8.parquet differ diff --git a/data/data_packages/commons_rmfi/category_8.resource.yaml b/data/data_packages/commons_rmfi/category_8.resource.yaml index a0f0415..970ecc4 100644 --- a/data/data_packages/commons_rmfi/category_8.resource.yaml +++ b/data/data_packages/commons_rmfi/category_8.resource.yaml @@ -138,4 +138,4 @@ schema: enum: - '8' example: '8' -hash: 3ec56a3951cc28eaedc1e6b45929d13e +hash: 2c224709e7e31c8b4841b235aa6b79ae diff --git a/data/data_packages/commons_rmfi/datapackage.yaml b/data/data_packages/commons_rmfi/datapackage.yaml index de1216f..c3ca52d 100644 --- a/data/data_packages/commons_rmfi/datapackage.yaml +++ b/data/data_packages/commons_rmfi/datapackage.yaml @@ -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 @@ -47,4 +44,5 @@ custom: include: all exclude: none render: true - + change_log: + 0.1.0: Don't need to increment, first version diff --git a/data/data_packages/commons_rmfi/overall.parquet b/data/data_packages/commons_rmfi/overall.parquet index ff2ecd0..1ec8d4a 100644 Binary files a/data/data_packages/commons_rmfi/overall.parquet and b/data/data_packages/commons_rmfi/overall.parquet differ diff --git a/data/data_packages/commons_rmfi/overall.resource.yaml b/data/data_packages/commons_rmfi/overall.resource.yaml index e6464fa..e25a513 100644 --- a/data/data_packages/commons_rmfi/overall.resource.yaml +++ b/data/data_packages/commons_rmfi/overall.resource.yaml @@ -110,4 +110,4 @@ schema: constraints: unique: false example: 1900 Club - £2,500.00 -hash: 9c59444350ccf2e1932a9c49deb925ad +hash: a808f327e630d138a9b517934391c8a6 diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_1.1.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.1.parquet new file mode 100644 index 0000000..bd13cec Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.1.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_1.1.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.1.resource.yaml new file mode 100644 index 0000000..8416c90 --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.1.resource.yaml @@ -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 diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_1.2.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.2.parquet new file mode 100644 index 0000000..db7181d Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.2.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_1.2.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.2.resource.yaml new file mode 100644 index 0000000..4dfca1e --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.2.resource.yaml @@ -0,0 +1,248 @@ +title: Category 1.2 +description: Employment and earnings - Ongoing paid employment +custom: + row_count: 178 +path: category_1.2.parquet +name: category_1.2 +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: 4034 + - name: parent_interest_id + type: integer + description: Unique identifier for the parent interest + constraints: + unique: false + example: 4017 + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: Agreement - £1,000.00 + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2024-03-16' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + enum: + - '' + - '2018-12-12' + - '2020-07-08' + - '2022-09-22' + - '2022-11-22' + - '2023-08-16' + - '2023-09-29' + - '2024-01-03' + - '2024-01-31' + - '2024-04-30' + - '2024-05-15' + - '2024-05-23' + - '2024-08-04' + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Employment and earnings - Ongoing paid employment + example: Employment and earnings - Ongoing paid employment + - name: party + type: string + description: TWFY ID for the party as of this release date + constraints: + unique: false + enum: + - conservative + - dup + - independent + - labour + - labourco-operative + - liberal-democrat + - reform + - scottish-national-party + - sinn-fein + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Adam Dance + - name: mnis_id + type: integer + description: Parliament ID of the MP + constraints: + unique: false + example: 146 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MP + constraints: + unique: false + example: '10119' + - name: regularity_of_payment + type: string + description: Regularity of the payment + constraints: + unique: false + enum: + - Monthly + - Quarterly + - Yearly + example: Monthly + - name: start_date + type: string + description: Start date of the payment + constraints: + unique: false + example: '' + - name: end_date + type: string + description: End date of the payment + constraints: + unique: false + example: '' + - name: period_for_hours_worked + type: string + description: Period for hours worked + constraints: + unique: false + enum: + - Monthly + - Quarterly + - Weekly + - Yearly + example: Monthly + - name: job_title + type: string + description: Job title + constraints: + unique: false + example: Councillor + - 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: (plus VAT) paid quarterly for international legal services + - name: value + type: number + description: Value of the payment (£) + constraints: + unique: false + example: 0.0 + - 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: (between 20 and 30 hrs) + - 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: Evans Derry Solicitors + - name: ultimate_payer_protected_by_confidentiality + type: boolean + description: Whether the ultimate payer is protected by confidentiality + constraints: + unique: false + enum: + - false + example: 'False' + - name: ultimate_payer_address + type: string + description: Address of the ultimate payer + constraints: + unique: false + example: 133 Long Street Atherstone Warwickshire CV9 1AD + - name: ultimate_payer_nature_of_business + type: string + description: Nature of business of the ultimate payer + constraints: + unique: false + example: High Street Solicitors Practice + - 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 donatee + constraints: + unique: false + example: Charity + - name: donatee_details + type: string + description: Details of the donatee + constraints: + unique: false + example: Kemyel Ltd + - name: category_code + type: string + description: Code for the category of the interest + constraints: + unique: false + enum: + - '1.2' + example: '1.2' +hash: 46101880948b8f3e138da6cdb91e49d2 diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_1.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.parquet new file mode 100644 index 0000000..1d3b8f2 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_1.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.resource.yaml new file mode 100644 index 0000000..5538c22 --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_1.resource.yaml @@ -0,0 +1,172 @@ +title: Category 1 +description: Employment and earnings +custom: + row_count: 462 +path: category_1.parquet +name: category_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: 3636 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: Academic Work - Liberty Fund Inc + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2021-03-26' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Employment and earnings + example: Employment and earnings + - name: party + type: string + description: Political party of the MP + constraints: + unique: false + enum: + - conservative + - dup + - green + - independent + - labour + - labourco-operative + - liberal-democrat + - plaid-cymru + - reform + - scottish-national-party + - sinn-fein + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Adam Dance + - name: mnis_id + type: integer + description: Parliamentary ID of the MP + constraints: + unique: false + example: 40 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MP + constraints: + unique: false + example: '10001' + - name: job_title + type: string + description: Description of the job role + constraints: + unique: false + example: Academic Work + - name: start_date + type: string + description: Start date of the role + constraints: + unique: false + example: '' + - name: end_date + type: string + description: End date of the role + constraints: + unique: false + example: '' + - name: is_until_further_notice + type: boolean + description: Whether the role is until further notice + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: payer_name + type: string + description: Name of the payer + constraints: + unique: false + example: 2S Ltd + - name: payer_is_private_individual + type: boolean + description: Whether the payer is a private individual + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: is_paid_as_director_of_payer + type: boolean + description: Whether the payment is made as a director of the payer + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: payer_nature_of_business + type: string + description: Nature of the payer's business + constraints: + unique: false + example: A Chartered Institute and professional body + - name: payer_public_address + type: string + description: Public address of the payer + constraints: + unique: false + example: 1 Aldgate, London EC3N 1RE + - name: has_sought_acoba_advice + type: string + description: Whether the MP has sought advice from the Advisory Committee on Business + Appointments + constraints: + unique: false + example: 'False' + - name: category_code + type: string + description: Code for the category of the interest + constraints: + unique: false + enum: + - '1' + example: '1' +hash: d748954d3a98413369f084d28a61541b diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_10.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_10.parquet new file mode 100644 index 0000000..ed9d226 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_10.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_10.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_10.resource.yaml new file mode 100644 index 0000000..42b8601 --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_10.resource.yaml @@ -0,0 +1,188 @@ +title: Category 10 +description: Family members engaged in third-party lobbying +custom: + row_count: 18 + dataset_order: 20 +path: category_10.parquet +name: category_10 +profile: data-resource +scheme: file +format: parquet +hashing: md5 +encoding: mac-roman +schema: + fields: + - name: id + type: integer + description: Unique identifier for the interest + constraints: + unique: true + example: 1193 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: Alastair Craft employed as Lobbyist + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '2015-06-02' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + enum: + - '2023-12-17' + - '2024-07-15' + - '2024-07-22' + - '2024-07-26' + - '2024-07-29' + - '2024-08-04' + example: '2023-12-17' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + enum: + - '' + - '2021-05-11' + - '2022-12-09' + - '2023-08-18' + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Family members engaged in third-party lobbying + example: Family members engaged in third-party lobbying + - name: party + type: string + description: TWFY party id of the MP + constraints: + unique: false + enum: + - conservative + - labour + - liberal-democrat + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Dame Nia Griffith + - name: mnis_id + type: integer + description: Unique identifier for the MP + constraints: + unique: false + example: 39 + - name: twfy_id + type: string + description: TWFY identifier for the MP + constraints: + unique: false + example: '10632' + - name: job_title + type: string + description: Job title of the family member + constraints: + unique: false + enum: + - Account Executive + - Associate Director + - Consultant + - Director + - Director and Head of Public Affairs + - Director, Community Conversations Ltd. + - Executive Chairman + - Freelance + - Freelance public relations consultant + - Owner and director + - Self-employed political consultant + - Senior Consultant + - Sole trader, providing policy and public affairs advice to clients + - Specialist Partner, Flint Global and Next Chapter Strategy + example: Account Executive + - name: employer + type: string + description: Name of the employer + constraints: + unique: false + enum: + - BB Partners + - Cavendish + - Cavendish Consulting + - Community Conversations Ltd. + - Earthcott Limited + - Endeavour Advisory Ltd, which provides communications and public affairs advice + - Flint Global (which advises international businesses and investors on policy, + politics, regulation, and competition issues in European markets) + - Hanover Communications + - Kanda Consultancy + - Lodestone Communications; a public relations company + - Pagefield Communications + - SEC Newgate UK + - Self Employed + - TB Cardew + example: BB Partners + - name: person_name + type: string + description: Name of the family member + constraints: + unique: false + example: Alastair Craft + - name: end_date + type: string + description: Date the interest ended + constraints: + unique: false + enum: + - '' + - '2023-05-12' + example: '' + - name: family_member_relationship_level + type: string + description: Level of relationship with the family member + constraints: + unique: false + enum: + - Related to member directly + - Related to partner + - Related to spouse + example: Related to member directly + - name: family_relation_type + type: string + description: Type of family relation + constraints: + unique: false + enum: + - Brother + - Daughter + - Father + - Partner + - Son + - Spouse + example: Brother + - name: category_code + type: string + description: Code for the category + constraints: + unique: false + enum: + - '10' + example: '10' +hash: 2985bab0ffd166cd4e7ead3ccd542db5 diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_2.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_2.parquet new file mode 100644 index 0000000..23fd1e8 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_2.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_2.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_2.resource.yaml new file mode 100644 index 0000000..401ee1b --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_2.resource.yaml @@ -0,0 +1,228 @@ +title: Category 2 +description: Donations and other support (including loans) for activities as an MP +custom: + row_count: 2521 +path: category_2.parquet +name: category_2 +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: 32 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: 1900 Club - £2,500.00 + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '2022-08-22' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2023-11-03' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Donations and other support (including loans) for activities as an MP + example: Donations and other support (including loans) for activities as an MP + - name: party + type: string + description: Political party of the MP + constraints: + unique: false + enum: + - conservative + - green + - independent + - labour + - labourco-operative + - liberal-democrat + - plaid-cymru + - reform + - scottish-national-party + - speaker + - uup + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Abtisam Mohamed + - name: mnis_id + type: integer + description: Parliamentary ID of the MP + constraints: + unique: false + example: 39 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MP + constraints: + unique: false + example: '10001' + - name: donation_source + type: string + description: Source of the donation + constraints: + unique: false + enum: + - (a) Support linked to an MP but received by a local party organisation or + indirectly via a central party organisation + - (b) Any other support not included in Category 2(a) + example: (a) Support linked to an MP but received by a local party organisation + or indirectly via a central party organisation + - name: payment_type + type: string + description: Type of payment + constraints: + unique: false + enum: + - Cash + - InKind + example: Cash + - name: payment_description + type: string + description: Description of the payment + constraints: + unique: false + example: (The donation was made to the national party, so other MPs may have benefited + as other parts of the party may also have benefitted) + - name: value + type: number + description: Value of the donation + constraints: + unique: false + example: 133.92 + - name: received_date + type: string + description: Date the payment was received + constraints: + unique: false + enum: + - '' + example: '' + - name: accepted_date + type: string + description: Date the payment was accepted + constraints: + unique: false + example: '' + - name: received_end_date + type: string + description: End date of the payment + constraints: + unique: false + example: '' + - name: is_sole_beneficiary + type: boolean + description: Whether the MP is the sole beneficiary + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: donor_name + type: string + description: Name of the donor + constraints: + unique: false + example: 1900 Club + - name: donor_public_address + type: string + description: Public address of the donor + constraints: + unique: false + example: 1 Canada Square, London E14 5AA + - name: donor_status + type: string + description: Status of the donor + constraints: + unique: false + enum: + - Company + - Individual + - Limited Liability Partnership + - Other + - Registered Party + - Trade Union + - Trust + - Unincorporated association + example: Company + - name: donor_company_name + type: string + description: Name of the donor company + constraints: + unique: false + example: 3West Group + - name: donor_company_url + type: number + description: URL of the donor company + constraints: + unique: false + example: '' + - name: donor_company_identifier + type: string + description: Identifier of the donor company + constraints: + unique: false + example: '10029261' + - name: donor_company_identifier_source + type: string + description: Source of the donor company identifier + constraints: + unique: false + example: Companies House + - name: donor_trust_details + type: string + description: Details of the donor trust + constraints: + unique: false + example: TLC is a Trust, raising funds for political campaigning activities of + the South Hams Liberal Democratic Party + - name: donor_other_details + type: string + description: Details of the donor + constraints: + unique: false + example: Group of Labour Gedling Borough Councillors (Gedling Borough Labour Group) + - name: category_code + type: string + description: Code for the category of the interest + constraints: + unique: false + enum: + - '2' + example: '2' +hash: 6fc7b789dea9e4f0d83296e6c4e64bfb diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_3.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_3.parquet new file mode 100644 index 0000000..131aa27 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_3.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_3.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_3.resource.yaml new file mode 100644 index 0000000..4729e75 --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_3.resource.yaml @@ -0,0 +1,216 @@ +title: Category 3 +description: Gifts, benefits and hospitality from UK sources +custom: + row_count: 444 +path: category_3.parquet +name: category_3 +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: 581 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: Age Partnership Group Limited - £450.00 + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2023-03-09' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Gifts, benefits and hospitality from UK sources + example: Gifts, benefits and hospitality from UK sources + - name: party + type: string + description: Political party of the MP + constraints: + unique: false + enum: + - conservative + - green + - independent + - labour + - labourco-operative + - liberal-democrat + - reform + - scottish-national-party + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Adrian Ramsay + - name: mnis_id + type: integer + description: Parliamentary ID of the MP + constraints: + unique: false + example: 39 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MP + constraints: + unique: false + example: '10001' + - name: appg + type: string + description: Payment made via an All-Party Parliamentary Group + constraints: + unique: false + example: APPG on Malaria and Neglected Tropical Diseases + - name: payment_type + type: string + description: Type of payment + constraints: + unique: false + enum: + - Cash + - InKind + example: Cash + - name: payment_description + type: string + description: Description of the payment + constraints: + unique: false + example: 2 tickets to the RHS Chelsea Flower Show Gala preview event and dinner + (valued at £185 each) + - name: value + type: number + description: Value of the payment + constraints: + unique: false + example: 22.5 + - name: received_date + type: string + description: Date the payment was received + constraints: + unique: false + example: '2002-01-01' + - name: accepted_date + type: string + description: Date the payment was accepted + constraints: + unique: false + example: '2002-01-01' + - name: received_end_date + type: string + description: End date of the payment + constraints: + unique: false + example: '' + - name: is_sole_beneficiary + type: boolean + description: Whether the MP is the sole beneficiary + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: donor_name + type: string + description: Name of the donor + constraints: + unique: false + example: Age Partnership Group Limited + - name: donor_public_address + type: string + description: Public address of the donor + constraints: + unique: false + example: 1 Bedford Row, London WC1R 4BU + - name: donor_status + type: string + description: Type of donor + constraints: + unique: false + enum: + - Company + - Friendly society + - Individual + - Limited Liability Partnership + - Other + - Trade Union + - Unincorporated association + example: Company + - name: donor_company_name + type: string + description: Name of the donor company + constraints: + unique: false + example: Age Partnership Group Limited + - name: donor_company_url + type: number + description: URL of the donor company + constraints: + unique: false + example: '' + - name: donor_company_identifier + type: string + description: Company id of the donor + constraints: + unique: false + example: '10690039' + - name: donor_company_identifier_source + type: string + description: Identifer category of company number + constraints: + unique: false + example: Companies House + - name: donor_trust_details + type: number + description: Trust details of the donor + constraints: + unique: false + example: '' + - name: donor_other_details + type: string + description: Other details of the donor + constraints: + unique: false + example: High Commission + - name: category_code + type: string + description: Code for the category of the interest + constraints: + unique: false + enum: + - '3' + example: '3' +hash: acb28055a202bbef14df1c775f3c5556 diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_4.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_4.parquet new file mode 100644 index 0000000..77f1be9 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_4.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_4.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_4.resource.yaml new file mode 100644 index 0000000..a9bcba6 --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_4.resource.yaml @@ -0,0 +1,403 @@ +title: Category 4 +description: Visits outside the UK +custom: + row_count: 224 +path: category_4.parquet +name: category_4 +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: 1218 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: International visit between 02 October 2023 and 03 October 2023 + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '2023-08-08' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2023-12-10' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + enum: + - '' + - '2023-08-23' + - '2023-10-30' + - '2023-11-03' + - '2023-12-18' + - '2024-02-05' + - '2024-03-22' + - '2024-03-27' + - '2024-04-11' + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Visits outside the UK + example: Visits outside the UK + - name: party + type: string + description: TWFY Party ID + constraints: + unique: false + enum: + - conservative + - dup + - independent + - labour + - labourco-operative + - liberal-democrat + - plaid-cymru + - reform + - scottish-national-party + - sinn-fein + - social-democratic-and-labour-party + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Afzal Khan + - name: mnis_id + type: integer + description: Parliamentary ID of the MP + constraints: + unique: false + example: 39 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MP + constraints: + unique: false + example: '10119' + - name: visit_locations + type: number + description: Number of locations visited + constraints: + unique: false + example: '' + - name: visit_locations_1__country + type: string + description: First country visited + constraints: + unique: false + example: Australia + - name: visit_locations_1__destination + type: string + description: First destination visited + constraints: + unique: false + example: Abu Dhabi and Dubai + - name: purpose + type: string + description: Purpose of the visit + constraints: + unique: false + example: (1) In my capacity as Chair of the Parliamentary Network on the World + Bank and international Monetary Fund, to attend the World Bank IMF Spring Meetings. (2) + Invited to present a lecture at the University on the Inequality of Wealth. + - name: start_date + type: string + description: Start date of the visit + constraints: + unique: false + example: '2022-08-30' + - name: end_date + type: string + description: End date of the visit + constraints: + unique: false + example: '2022-09-03' + - name: appg + type: string + description: Visit associated with an All-Party Parliamentary Group + constraints: + unique: false + example: APPG Against Antisemitism + - name: donors + type: number + description: Number of donors + constraints: + unique: false + example: '' + - name: donors_1__name + type: string + description: Name of the donor + constraints: + unique: false + example: APPG on Population, Development and Reproductive Health (PDRH) (sponsored + by the European Parliamentary Forum on Reproductive Rights) + - name: donors_1__is_private_individual + type: boolean + description: Whether the donor is a private individual + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: donors_1__public_address + type: string + description: Public address of the donor + constraints: + unique: false + example: 1 Bedford Row, London WC1R 4BU + - name: donors_1__payment_type + type: string + description: Type of payment + constraints: + unique: false + enum: + - In kind + - Monetary + example: In kind + - name: donors_1__payment_description + type: string + description: Description of the payment + constraints: + unique: false + 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 + type: number + description: Value of the payment + constraints: + unique: false + example: 180.0 + - name: donors_1__is_sole_beneficiary + type: boolean + description: Whether the MP is the sole beneficiary + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: donors_2__name + type: string + description: Name of the donor + constraints: + unique: false + example: COP28 Presidency Office + - name: donors_2__is_private_individual + type: string + description: Whether the donor is a private individual + constraints: + unique: false + example: 'False' + - name: donors_2__public_address + type: string + description: Public address of the donor + constraints: + unique: false + example: 14th Floor, GFH Tower, Bahrain Financial Harbour, Building 1411, Road + 4625, Manama 346, Kingdom of Bahrain + - name: donors_2__payment_type + type: string + description: Type of payment + constraints: + unique: false + example: In kind + - name: donors_2__payment_description + type: string + description: Description of the payment + constraints: + unique: false + example: (1) Return trip Singapore to Melbourne, Australia (travel only) + - name: donors_2__value + type: number + description: Value of the payment + constraints: + unique: false + example: 59.5 + - name: donors_2__is_sole_beneficiary + type: string + description: Whether the MP is the sole beneficiary + constraints: + unique: false + example: 'False' + - name: donors_3__name + type: string + description: Name of the donor + constraints: + unique: false + example: Irish American Unity Conference + - name: donors_3__is_private_individual + type: string + description: Whether the donor is a private individual + constraints: + unique: false + example: 'False' + - name: donors_3__public_address + type: string + description: Public address of the donor + constraints: + unique: false + example: 1147 Lindsay Rd, Carnegie, PA 15106 + - name: donors_3__payment_type + type: string + description: Type of payment + constraints: + unique: false + example: In kind + - name: donors_3__payment_description + type: string + description: Description of the payment + constraints: + unique: false + example: Accommodation Costs + - name: donors_3__value + type: number + description: Value of the payment + constraints: + unique: false + example: 160.0 + - name: donors_3__is_sole_beneficiary + type: string + description: Whether the MP is the sole beneficiary + constraints: + unique: false + example: 'True' + - name: donors_4__name + type: string + description: Name of the donor + constraints: + unique: false + example: The British Residents Society + - name: donors_4__is_private_individual + type: string + description: Whether the donor is a private individual + constraints: + unique: false + example: 'False' + - name: donors_4__public_address + type: string + description: Public address of the donor + constraints: + unique: false + example: Mustafa Cagatay Avenue, Girne + - name: donors_4__payment_type + type: string + description: Type of payment + constraints: + unique: false + example: In kind + - name: donors_4__payment_description + type: string + description: Description of the payment + constraints: + unique: false + 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 + constraints: + unique: false + example: 1150.0 + - name: donors_4__is_sole_beneficiary + type: string + description: Whether the MP is the sole beneficiary + constraints: + unique: false + example: 'True' + - name: donors_5__name + type: string + description: Name of the donor + constraints: + unique: false + example: Turkish Airlines + - name: donors_5__is_private_individual + type: string + description: Whether the donor is a private individual + constraints: + unique: false + example: 'False' + - name: donors_5__public_address + type: string + description: Public address of the donor + constraints: + unique: false + example: Istanbul Atatürk Airport, Yeşilköy, Bakırköy, Istanbul, Türkiye + - name: donors_5__payment_type + type: string + description: Type of payment + constraints: + unique: false + example: In kind + - name: donors_5__payment_description + type: string + description: Description of the payment + constraints: + unique: false + 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 + constraints: + unique: false + example: 1150.0 + - name: donors_5__is_sole_beneficiary + type: string + description: Whether the MP is the sole beneficiary + constraints: + unique: false + example: 'True' + - name: visit_locations_2__country + type: string + description: Second country visited + constraints: + unique: false + example: El Salvador + - name: visit_locations_2__destination + type: string + description: Second destination visited + constraints: + unique: false + example: Dubai + - name: category_code + type: string + description: Code for the category + constraints: + unique: false + enum: + - '4' + example: '4' +hash: f68fede7f6ed2063ec7ced4fc6ee9b9a diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_5.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_5.parquet new file mode 100644 index 0000000..c5b49c8 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_5.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_5.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_5.resource.yaml new file mode 100644 index 0000000..cf14e9d --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_5.resource.yaml @@ -0,0 +1,336 @@ +title: Category 5 +description: Gifts and benefits from sources outside the UK +custom: + row_count: 9 +path: category_5.parquet +name: category_5 +profile: data-resource +scheme: file +format: parquet +hashing: md5 +encoding: cp1254 +schema: + fields: + - name: id + type: integer + description: Unique identifier for the interest + constraints: + unique: true + enum: + - 591 + - 595 + - 596 + - 598 + - 601 + - 3238 + - 3242 + - 4566 + - 9052 + example: 591 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + enum: + - Association of Marshall Scholars - £465.00 + - Cricket Australia - £1,998.00 + - HM Government of Gibraltar - £1,275.00 + - Qatar Racing and Equestrian Club (Qatar Ministry of Sports and Culture) - + £575.00 + - Qatar Racing and Equestrian Club (Qatar Ministry of Sports and Culture) and + the Embassy of the State of Qatar - £600.00 + - Stripe Press Inc - £414.00 + - The Lord (Philip) Harris of Peckham - £5,000.00 + - Viagogo - £838.80 + example: Association of Marshall Scholars - £465.00 + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: true + enum: + - '2023-08-07' + - '2023-08-21' + - '2023-08-29' + - '2023-10-10' + - '2023-10-24' + - '2024-01-26' + - '2024-02-07' + - '2024-03-19' + - '2024-08-01' + example: '2023-08-07' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + enum: + - '2023-12-03' + - '2024-03-06' + - '2024-03-22' + - '2024-08-04' + example: '2023-12-03' + - 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: + - Gifts and benefits from sources outside the UK + example: Gifts and benefits from sources outside the UK + - name: party + type: string + description: Political party of the MP + constraints: + unique: false + enum: + - conservative + - labour + - labourco-operative + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: true + enum: + - Alison Griffiths + - Dame Harriett Baldwin + - Esther McVey + - Lucy Powell + - Mr Richard Holden + - Neil O'Brien + - Sir John Whittingdale + - Stephen Doughty + - Stephen Morgan + example: Alison Griffiths + - name: mnis_id + type: integer + description: Parliamentary ID of the MP + constraints: + unique: true + enum: + - 39 + - 4084 + - 4107 + - 4263 + - 4264 + - 4653 + - 4679 + - 4813 + - 5203 + example: 39 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MP + constraints: + unique: true + enum: + - '10632' + - '24785' + - '24882' + - '25165' + - '25166' + - '25658' + - '25679' + - '25893' + - '26536' + example: '10632' + - name: appg + type: number + description: Linked to an All-Party Parliamentary Group + constraints: + unique: false + example: '' + - name: payment_type + type: string + description: Type of payment + constraints: + unique: false + enum: + - Cash + - InKind + example: Cash + - name: payment_description + type: string + description: Description of the payment + constraints: + unique: true + enum: + - Associated with participating in a cross-party conference, accommodation (£315) + and hospitality (£150) + - Associated with taking part in the US-UK legislative exchange in Oxford, hospitality + and accommodation + - Four nights' accommodation during the Labour Party Conference + - Guest at Qatar Goodwood Festival 2023, including accommodation, hospitality + and lunch + - In my role as Shadow Secretary of State for DCMS, I attended the Ashes with + a plus one (two tickets with hospitality), as guests of the Australian High + Commissioner, with tickets provided by Cricket Australia + - Meals and accommodation at small group retreat in Guildford + - One ticket with hospitality for England v New Zealand one day cricket match + - Two tickets to Qatar Goodwood Festival 2023 including hospitality and accommodation + for one night + - for general election campaign expenditure + example: Associated with participating in a cross-party conference, accommodation + (£315) and hospitality (£150) + - name: value + type: number + description: Value of the payment (£) + constraints: + unique: false + enum: + - 414.0 + - 465.0 + - 575.0 + - 600.0 + - 838.8 + - 1275.0 + - 1998.0 + - 5000.0 + example: 414.0 + - name: received_date + type: string + description: Date the payment was received + constraints: + unique: false + enum: + - '2023-07-27' + - '2023-07-31' + - '2023-08-02' + - '2023-09-15' + - '2023-10-08' + - '2024-01-13' + - '2024-03-04' + - '2024-06-11' + example: '2023-07-27' + - name: accepted_date + type: string + description: Date the payment was accepted + constraints: + unique: false + enum: + - '2023-07-27' + - '2023-07-31' + - '2023-08-02' + - '2023-09-15' + - '2023-10-08' + - '2024-01-13' + - '2024-03-04' + - '2024-06-11' + example: '2023-07-27' + - name: received_end_date + type: string + description: End date of the payment + constraints: + unique: false + enum: + - '' + - '2023-08-02' + - '2023-10-11' + - '2024-01-14' + - '2024-03-06' + example: '' + - name: is_sole_beneficiary + type: boolean + description: Whether the MP is the sole beneficiary + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: donor_name + type: string + description: Name of the donor + constraints: + unique: false + enum: + - Association of Marshall Scholars + - Cricket Australia + - HM Government of Gibraltar + - Qatar Racing and Equestrian Club (Qatar Ministry of Sports and Culture) + - Qatar Racing and Equestrian Club (Qatar Ministry of Sports and Culture) and + the Embassy of the State of Qatar + - Stripe Press Inc + - The Lord (Philip) Harris of Peckham + - Viagogo + example: Association of Marshall Scholars + - name: donor_public_address + type: string + description: Public address of the donor + constraints: + unique: true + example: 1 South Audley Street, London W1K 1NB + - name: donor_status + type: string + description: Type of donor + constraints: + unique: false + enum: + - Company + - Friendly society + - Individual + - Other + - Unincorporated association + example: Company + - name: donor_company_name + type: string + description: Name of the donor company + constraints: + unique: false + example: Cricket Australia + - name: donor_company_url + type: number + description: URL of the donor company + constraints: + unique: false + example: '' + - name: donor_company_identifier + type: string + description: Identifier of the donor company + constraints: + unique: false + example: ABN 53 006 089 130 + - name: donor_company_identifier_source + type: string + description: Donor company identifier register + constraints: + unique: false + example: Companies House + - name: donor_trust_details + type: number + description: Details of the donor trust + constraints: + unique: false + example: '' + - name: donor_other_details + type: string + description: Other details of the donor + constraints: + unique: false + example: US non-profit endowment + - name: category_code + type: string + description: Code for the category of the interest + constraints: + unique: false + enum: + - '5' + example: '5' +hash: 3c6b55c8f7dfa3884fa9b965a4e19b9f diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_6.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_6.parquet new file mode 100644 index 0000000..f60dd29 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_6.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_6.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_6.resource.yaml new file mode 100644 index 0000000..0043ded --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_6.resource.yaml @@ -0,0 +1,224 @@ +title: Category 6 +description: Land and property (within or outside the UK) +custom: + row_count: 217 +path: category_6.parquet +name: category_6 +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: 2170 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: Agricultural in Ballygarvin + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2015-05-01' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Land and property (within or outside the UK) + example: Land and property (within or outside the UK) + - name: party + type: string + description: TWFY party id of the MP + constraints: + unique: false + enum: + - conservative + - dup + - green + - independent + - labour + - labourco-operative + - liberal-democrat + - plaid-cymru + - reform + - scottish-national-party + - sinn-fein + - traditional-unionist-voice + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Adrian Ramsay + - name: mnis_id + type: integer + description: Parliamentary ID of the MP + constraints: + unique: false + example: 39 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MPss + constraints: + unique: false + example: '10119' + - name: start_date + type: string + description: Date the interest started + constraints: + unique: false + example: '' + - name: end_date + type: string + description: Date the interest ended + constraints: + unique: false + enum: + - '' + - '2023-08-14' + - '2023-09-22' + - '2024-07-18' + - '2024-07-21' + - '2024-08-31' + example: '' + - name: is_sole_owner + type: boolean + description: Is the MP the sole owner of the property + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: location + type: string + description: Location of the property + constraints: + unique: false + example: Aberdeen + - name: property_description + type: string + description: Description of the property + constraints: + unique: false + example: 1 bed Flat + - name: property_owner_details + type: string + description: Details of the property owner + constraints: + unique: false + example: 25% share + - name: rental_income_details + type: string + description: Details of the rental income + constraints: + unique: false + example: 50% of rental income paid to my husband + - name: rental_income_start_date + type: string + description: Date the rental income started + constraints: + unique: false + example: '' + - name: rental_income_end_date + type: string + description: Date the rental income ended + constraints: + unique: false + enum: + - '' + - '2023-08-14' + - '2024-07-17' + - '2024-07-31' + example: '' + - name: number_of_properties + type: number + description: Number of properties owned + constraints: + unique: false + example: 1.0 + - name: is_land + type: boolean + description: Is the property land + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: is_any_rental_income_paid_to_another_person + type: boolean + description: Is any rental income paid to another person + constraints: + unique: false + enum: + - false + - true + example: 'False' + - name: country + type: string + description: Country of the property + constraints: + unique: false + enum: + - France + - Germany + - India + - Ireland + - Italy + - Portugal + - Spain + - United Kingdom + - United States + example: France + - name: land_use + type: string + description: Use of the land + constraints: + unique: false + example: Agricultural + - name: property_type + type: string + description: Type of property + constraints: + unique: false + example: Agricultural + - name: category_code + type: string + description: Code for the category of the interest + constraints: + unique: false + enum: + - '6' + example: '6' +hash: aa45351b7846e68e1e4ab7c6a8f99c4a diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_7.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_7.parquet new file mode 100644 index 0000000..ab7896c Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_7.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_7.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_7.resource.yaml new file mode 100644 index 0000000..749ac1b --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_7.resource.yaml @@ -0,0 +1,156 @@ +title: Category 7 +description: Shareholdings +custom: + row_count: 185 +path: category_7.parquet +name: category_7 +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: 1330 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: true + example: Shares in 100MPH Events Limited (dormant) + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2023-12-17' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Shareholdings + example: Shareholdings + - name: party + type: string + description: TWFY party of the MP + constraints: + unique: false + enum: + - conservative + - independent + - labour + - labourco-operative + - liberal-democrat + - plaid-cymru + - reform + - scottish-national-party + - sinn-fein + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Abtisam Mohamed + - name: mnis_id + type: integer + description: Unique identifier for the MP + constraints: + unique: false + example: 40 + - name: twfy_id + type: string + description: TWFY identifier for the MP + constraints: + unique: false + example: '10103' + - name: shareholding_threshold + type: string + description: Shareholding threshold + constraints: + unique: false + enum: + - '(i) Shareholdings: over 15% of issued share capital' + - (ii) Other shareholdings, valued at more than £70,000 + example: '(i) Shareholdings: over 15% of issued share capital' + - name: registrable_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '' + - name: end_date + type: string + description: Date the interest ended + constraints: + unique: false + enum: + - '' + - '2004-07-05' + - '2023-05-09' + - '2023-08-10' + - '2023-08-11' + - '2023-08-29' + - '2023-11-17' + - '2024-07-18' + - '2024-07-25' + - '2024-07-29' + example: '' + - name: organisation_name + type: string + description: Name of the organisation + constraints: + unique: true + example: 100MPH Events Limited (dormant) + - name: organisation_description + type: string + description: Description of the organisation + constraints: + unique: false + example: A baby swimming company + - name: held_on_behalf_of + type: string + description: Organisation held on behalf of + constraints: + unique: false + example: Company is owned jointly with partner + - name: managed_by + type: string + description: Organisation managed by + constraints: + unique: false + example: DelegatedManagementCompany + - name: category_code + type: string + description: Category code + constraints: + unique: false + enum: + - '7' + example: '7' +hash: 908ae19eb5cbf2348cf627a999384007 diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_8.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_8.parquet new file mode 100644 index 0000000..b0c7fd9 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_8.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_8.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_8.resource.yaml new file mode 100644 index 0000000..970ecc4 --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_8.resource.yaml @@ -0,0 +1,141 @@ +title: Category 8 +description: Miscellaneous +custom: + row_count: 807 +path: category_8.parquet +name: category_8 +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: 1220 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: A 10% shareholding in WT IP Ltd. The shareholding is below the threshold + for registration. + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2022-12-17' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Miscellaneous + example: Miscellaneous + - name: party + type: string + description: Political party of the MP + constraints: + unique: false + enum: + - conservative + - dup + - green + - independent + - labour + - labourco-operative + - liberal-democrat + - plaid-cymru + - reform + - scottish-national-party + - traditional-unionist-voice + - uup + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Adam Dance + - name: mnis_id + type: integer + description: Parliamentary ID of the MP + constraints: + unique: false + example: 40 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MP + constraints: + unique: false + example: '10001' + - name: arose_on + type: string + description: Date the interest arose + constraints: + unique: false + example: '' + - name: end_date + type: string + description: Date the interest ended + constraints: + unique: false + example: '' + - name: donor_name + type: string + description: Name of the donor + constraints: + unique: false + example: Betting & Gaming Council + - name: description + type: string + description: Description of the interest + constraints: + unique: false + example: A 10% shareholding in WT IP Ltd. The shareholding is below the threshold + for registration. + - name: miscellaneous_interest_type + type: string + description: Type of miscellaneous interest + constraints: + unique: false + enum: + - Financial interest or material benefit + - Formal role with a party organisation + - Fund to defray legal costs + - Other + - Unpaid role + example: Financial interest or material benefit + - name: category_code + type: string + description: Category code of the interest + constraints: + unique: false + enum: + - '8' + example: '8' +hash: 2c224709e7e31c8b4841b235aa6b79ae diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_9.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/category_9.parquet new file mode 100644 index 0000000..54b8c99 Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/category_9.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/category_9.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/category_9.resource.yaml new file mode 100644 index 0000000..0e2ea42 --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/category_9.resource.yaml @@ -0,0 +1,198 @@ +title: Category 9 +description: Family members employed +custom: + row_count: 34 +path: category_9.parquet +name: category_9 +profile: data-resource +scheme: file +format: parquet +hashing: md5 +encoding: mac-roman +schema: + fields: + - name: id + type: integer + description: Unique identifier for the interest + constraints: + unique: true + example: 2686 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: true + example: Alan Hodgson employed + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + enum: + - '' + - '2015-06-04' + - '2016-01-19' + - '2016-02-29' + - '2016-03-15' + - '2016-04-18' + - '2016-04-20' + - '2016-04-21' + - '2016-05-16' + - '2016-06-03' + - '2016-06-10' + - '2016-08-01' + example: '' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + enum: + - '2023-12-30' + - '2024-01-23' + - '2024-01-28' + - '2024-04-15' + - '2024-07-23' + - '2024-07-26' + example: '2023-12-30' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + enum: + - '' + - '2015-05-20' + - '2015-06-04' + - '2015-06-29' + - '2017-01-05' + - '2017-07-07' + - '2019-04-16' + - '2020-10-08' + - '2021-11-18' + - '2023-11-14' + - '2024-02-14' + - '2024-04-15' + - '2024-07-23' + - '2024-07-26' + example: '' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Family members employed + example: Family members employed + - name: party + type: string + description: TWFY party_id + constraints: + unique: false + enum: + - conservative + - dup + - labour + - labourco-operative + - scottish-national-party + example: conservative + - name: member + type: string + description: Name of the MP + constraints: + unique: true + example: Alberto Costa + - name: mnis_id + type: integer + description: Unique identifier for the MP + constraints: + unique: true + example: 55 + - name: twfy_id + type: string + description: TheyWorkForYou ID of the MP + constraints: + unique: true + example: '10045' + - name: job_title + type: string + description: Job title of the family member + constraints: + unique: false + enum: + - Administrative Manager + - Diary Secretary + - Executive Office Manager + - Executive Officer + - Junior Secretary + - Office Manager + - Parliamentary Assistant + - Principal Secretary + - Secretary + - Senior Caseworker + - Senior Communications Officer + - Senior Parliamentary Assistant + - Senior Researcher + - Senior Secretary + example: Administrative Manager + - name: working_pattern + type: string + description: Working pattern of the family member + constraints: + unique: false + enum: + - Full time + - Part time + example: Full time + - name: person_name + type: string + description: Name of the family member + constraints: + unique: true + example: Alan Hodgson + - name: end_date + type: string + description: Date the interest ended + constraints: + unique: false + enum: + - '' + example: '' + - name: family_member_relationship_level + type: string + description: Level of relationship to the MP + constraints: + unique: false + enum: + - Related to member directly + - Related to spouse + example: Related to member directly + - name: family_relation_type + type: string + description: Type of family relation + constraints: + unique: false + enum: + - Brother + - Daughter + - Father + - Partner + - Sister + - Son + - Spouse + example: Brother + - name: category_code + type: string + description: Code for the category + constraints: + unique: false + enum: + - '9' + example: '9' +hash: 6f86d9bc3cc090b7bcb008229dee922a diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/datapackage.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/datapackage.yaml new file mode 100644 index 0000000..c3ca52d --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/datapackage.yaml @@ -0,0 +1,48 @@ +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.\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 +contributors: +- 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 + 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 diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/overall.parquet b/data/data_packages/commons_rmfi/versions/0.1.0/overall.parquet new file mode 100644 index 0000000..1ec8d4a Binary files /dev/null and b/data/data_packages/commons_rmfi/versions/0.1.0/overall.parquet differ diff --git a/data/data_packages/commons_rmfi/versions/0.1.0/overall.resource.yaml b/data/data_packages/commons_rmfi/versions/0.1.0/overall.resource.yaml new file mode 100644 index 0000000..e25a513 --- /dev/null +++ b/data/data_packages/commons_rmfi/versions/0.1.0/overall.resource.yaml @@ -0,0 +1,113 @@ +title: Overall Register of Interests +description: Register of interests, text summaries by category, +custom: + row_count: 5482 + dataset_order: -10 +path: overall.parquet +name: overall +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: 32 + - name: parent_interest_id + type: number + description: Unique identifier for the parent interest + constraints: + unique: false + example: 3636.0 + - name: member + type: string + description: Name of the MP + constraints: + unique: false + example: Abtisam Mohamed + - name: party + type: string + description: TWFY id of the party + constraints: + unique: false + example: conservative + - name: mnis_id + type: integer + description: Parliamentary ID for the MP + constraints: + unique: false + example: 39 + - name: twfy_id + type: string + description: TWFY ID for the MP + constraints: + unique: false + example: '10001' + - name: category + type: string + description: Category of the interest + constraints: + unique: false + enum: + - Donations and other support (including loans) for activities as an MP + - Employment and earnings + - Employment and earnings - Ad hoc payments + - Employment and earnings - Ongoing paid employment + - Family members employed + - Family members engaged in third-party lobbying + - Gifts and benefits from sources outside the UK + - Gifts, benefits and hospitality from UK sources + - Land and property (within or outside the UK) + - Miscellaneous + - Shareholdings + - Visits outside the UK + example: Donations and other support (including loans) for activities as an MP + - name: category_code + type: string + description: Code for the category of the interest + constraints: + unique: false + enum: + - '1' + - '1.1' + - '1.2' + - '10' + - '2' + - '3' + - '4' + - '5' + - '6' + - '7' + - '8' + - '9' + example: '1' + - name: registration_date + type: string + description: Date the interest was registered + constraints: + unique: false + example: '' + - name: published_date + type: string + description: Date the interest was published + constraints: + unique: false + example: '2015-05-01' + - name: updated_date + type: string + description: Date the interest was last updated + constraints: + unique: false + example: '' + - name: summary + type: string + description: Text summary of the interest + constraints: + unique: false + example: 1900 Club - £2,500.00 +hash: a808f327e630d138a9b517934391c8a6