home / regmem

Menu
  • GraphQL API

items

Table actions
  • GraphQL API for items

Data source: mySociety Data · About: simonw/register-of-members-interests-datasette

2 rows where record_id = "2023-09-04-64e8edeb-10240-0" sorted by date descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: date (date)

hash item category_id date ▲ member_id person_id sort_order record_id
f845a4f13930db857a0a04b9ddbefa46379aa437 Name of donor: APPG for the Armed Forces Address of donor: House of Commons, London SW1A 0AA Amount of donation or nature and value if donation in kind: Twelve dinners, value £45 each; two breakfasts, value £15 each; total £570 Date received: 1 January 2022 to 13 December 2022 Date accepted: 1 January 2022 to 13 December 2022 Donor status: other (Registered 14 July 2022; updated 02 November 2022 and 20 December 2022) Gifts, benefits and hospitality from UK sources 64e8edeb 2023-09-04   James Gray uk.org.publicwhip/person/10240 0 2023-09-04-64e8edeb-10240-0
1d20dc22cb932ee09d40a38588dfb5298cff343b Name of donor: APPG for the Armed Forces Address of donor: House of Commons, London SW1A 0AA Amount of donation or nature and value if donation in kind: Eight dinners, value £45 each; one breakfast, value £15; total £375 Date received: 1 January 2023 to 12 June 2023 Date accepted: 1 January 2023 to 12 June 2023 Donor status: other (Registered 14 June 2023) Gifts, benefits and hospitality from UK sources 64e8edeb 2023-09-04   James Gray uk.org.publicwhip/person/10240 1 2023-09-04-64e8edeb-10240-0

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE items (
        hash VARCHAR(40) NOT NULL,
        item TEXT,
        category_id TEXT,
        date TEXT,
        member_id TEXT,
        person_id TEXT,
        sort_order INTEGER,
        record_id TEXT,
        PRIMARY KEY (hash),
        FOREIGN KEY ("category_id") REFERENCES [categories](id),
        FOREIGN KEY ("member_id") REFERENCES [members](id),
        FOREIGN KEY ("person_id") REFERENCES [people](id)
    );
CREATE INDEX items_date ON items("date");
CREATE INDEX items_category_id ON items("category_id");
CREATE INDEX items_member_id ON items("member_id");
CREATE INDEX items_person_id ON items("person_id");
CREATE INDEX items_record_id ON items("record_id");
Powered by Datasette · Queries took 36.64ms · Data source: mySociety Data · About: simonw/register-of-members-interests-datasette