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 = "2019-05-20-891eb863-10063-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
907bf656b40f8f2ef96d805a8973620c587b100d Name of donor: Government of Gibraltar Address of donor: 6 Convent Place, Gibraltar GX11 1AA Estimate of the probable value (or amount of any donation): Flight £251, meals £120 and hotel accommodation with a value of £258; total value £629 Destination of visit: Gibraltar Dates of visit: 16-18 May 2018 Purpose of visit: Fact finding mission to assess impact of Brexit on Gibraltar. (Registered 24 May 2018) Visits outside the UK 891eb863 2019-05-20   Tom Brake uk.org.publicwhip/person/10063 0 2019-05-20-891eb863-10063-0
ab503a9db27580e521c2bfa110712623df6f32f8 Name of donor: (1) Total IMP Russia (2) Pluteos AG Address of donor: (1) 7 Lesnaya street, 125047, Moscow, Russia (2) Zentralstrasse 44, CH-6003 Lucerne, Switzerland Estimate of the probable value (or amount of any donation): (1) Hotel costs £102.50; visa £62.50; flights £194; total £359 (2) Hotel costs £102.50; visa £62.50; flights £194; total £359 Destination of visit: Moscow Dates of visit: 17-19 May 2019 Purpose of visit: Conference at the French Embassy to discuss EU – Russia relations. (Registered 20 May 2019) Visits outside the UK 891eb863 2019-05-20   Tom Brake uk.org.publicwhip/person/10063 1 2019-05-20-891eb863-10063-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 13.79ms · Data source: mySociety Data · About: simonw/register-of-members-interests-datasette