home / regmem

Menu
  • GraphQL API

items

Table actions
  • GraphQL API for items

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

3 rows where record_id = "2017-05-02-10057ffd-11621-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
d01c0b7a75384e86c4c58367ce6fee99b4f9138d Payments from Intelligence Squared (UK) Ltd, Newcombe House, 45 Notting Hill Gate, London W11 3LQ: Employment and earnings 10057ffd 2017-05-02   Douglas Carswell uk.org.publicwhip/person/11621 0 2017-05-02-10057ffd-11621-0
49b4cab7b76816178541745f149da43e6d4edd7c 2 August 2016, received £500 for speaking at an event. Hours (including preparation): 4 hrs. (Registered 15 August 2016) Employment and earnings 10057ffd 2017-05-02   Douglas Carswell uk.org.publicwhip/person/11621 1 2017-05-02-10057ffd-11621-0
a3eb6791681f89b2fb00531604cbcd4b4a316b9a 22 November 2014, received £500 for speaking at an event. Hours (including preparation): 4 hrs. (Registered 22 November 2016) Employment and earnings 10057ffd 2017-05-02   Douglas Carswell uk.org.publicwhip/person/11621 2 2017-05-02-10057ffd-11621-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 20.483ms · Data source: mySociety Data · About: simonw/register-of-members-interests-datasette