home / regmem

Menu
  • GraphQL API

items

Table actions
  • GraphQL API for items

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

4 rows where record_id = "2019-05-07-10057ffd-10282-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
a3d9d683d9d090aef851251cc384e97af5f34b16 20 November 2018, received £500 from Associated Newspapers, 2 Derry Street, London W8 5TT, for an article. Hours: 3 hrs. (Registered 18 December 2018) Employment and earnings 10057ffd 2019-05-07   Kate Hoey uk.org.publicwhip/person/10282 0 2019-05-07-10057ffd-10282-0
5e4eaa7de7c8586d7b25bf0575a2fcf3f5f95d2e Payments from the Telegraph Media Group, 111 Buckingham Palace Road, London SW1W 0DT: Employment and earnings 10057ffd 2019-05-07   Kate Hoey uk.org.publicwhip/person/10282 1 2019-05-07-10057ffd-10282-0
e8c37179747d790adcf5883a7e20e35b5e520f6a 1 February 2019, received £250 for an article written on 10 January 2019. Hours: 3 hrs. (Registered 06 February 2019) Employment and earnings 10057ffd 2019-05-07   Kate Hoey uk.org.publicwhip/person/10282 2 2019-05-07-10057ffd-10282-0
ad8cf5395a8ac3e512e89fa072cbd6ebe2d77a72 1 February 2019, received £250 for an article written on 15 January 2019. Hours: 2 hrs. (Registered 06 February 2019) Employment and earnings 10057ffd 2019-05-07   Kate Hoey uk.org.publicwhip/person/10282 3 2019-05-07-10057ffd-10282-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 87.618ms · Data source: mySociety Data · About: simonw/register-of-members-interests-datasette