home / regmem

Menu
  • GraphQL API

items

Table actions
  • GraphQL API for items

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

7 rows where record_id = "2015-03-30-8f616a6e-10040-7" 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
57a204793569cda77404fa9d6b8968f388613f7a Name of donor: Lord Gulam Noon Sponsorships 8f616a6e 2015-03-30 John Bercow uk.org.publicwhip/member/40131 John Bercow uk.org.publicwhip/person/10040 0 2015-03-30-8f616a6e-10040-7
e9d0098a3af6e076ea3a052bc07ccb26ea5a3d86 Address of donor: private Sponsorships 8f616a6e 2015-03-30 John Bercow uk.org.publicwhip/member/40131 John Bercow uk.org.publicwhip/person/10040 1 2015-03-30-8f616a6e-10040-7
7d0cc11303f312099930ec602be351c242aba790 Amount of donation or nature and value if donation in kind: £2,500 Sponsorships 8f616a6e 2015-03-30 John Bercow uk.org.publicwhip/member/40131 John Bercow uk.org.publicwhip/person/10040 2 2015-03-30-8f616a6e-10040-7
bdaa451ffd7853a56771908d775cd4d5799734e1 Date of receipt: 18 November 2014 Sponsorships 8f616a6e 2015-03-30 John Bercow uk.org.publicwhip/member/40131 John Bercow uk.org.publicwhip/person/10040 3 2015-03-30-8f616a6e-10040-7
f0c6511a1ff3b311ae1140b557813b9a47bd36d7 Date of acceptance: 21 November 2014 Sponsorships 8f616a6e 2015-03-30 John Bercow uk.org.publicwhip/member/40131 John Bercow uk.org.publicwhip/person/10040 4 2015-03-30-8f616a6e-10040-7
0a6acc8d831f5a92f54dcaf5404fdf154fa6d33f Donor status: individual Sponsorships 8f616a6e 2015-03-30 John Bercow uk.org.publicwhip/member/40131 John Bercow uk.org.publicwhip/person/10040 5 2015-03-30-8f616a6e-10040-7
89ad1068908acf86a22ee07c934dcb26265e39bc (Registered 5 December 2014) Sponsorships 8f616a6e 2015-03-30 John Bercow uk.org.publicwhip/member/40131 John Bercow uk.org.publicwhip/person/10040 6 2015-03-30-8f616a6e-10040-7

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 41.267ms · Data source: mySociety Data · About: simonw/register-of-members-interests-datasette