home / regmem

Menu
  • GraphQL API

items

Table actions
  • GraphQL API for items

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

5 rows where record_id = "2010-03-10-8f616a6e-10169-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
1e116bf017f3dda7f5b09b334eebf84cedccb871 Name of donor: GMB Union (London Region) Sponsorships 8f616a6e 2010-03-10 Andrew Dismore uk.org.publicwhip/member/1628 Andrew Dismore uk.org.publicwhip/person/10169 0 2010-03-10-8f616a6e-10169-0
1eafe2283313648f0bde379eef9ea1d50b1296c5 Address of donor: 152 Brent St, London NW4 2DP Sponsorships 8f616a6e 2010-03-10 Andrew Dismore uk.org.publicwhip/member/1628 Andrew Dismore uk.org.publicwhip/person/10169 1 2010-03-10-8f616a6e-10169-0
061e53931826064f661c35cf4ef1b04150ee06fc Amount of donation or nature and value if donation in kind: £2,000 donation to my constituency party Sponsorships 8f616a6e 2010-03-10 Andrew Dismore uk.org.publicwhip/member/1628 Andrew Dismore uk.org.publicwhip/person/10169 2 2010-03-10-8f616a6e-10169-0
95e5777ae325f5bc83c5caae94e013648bbe1851 Donor status: trade union Sponsorships 8f616a6e 2010-03-10 Andrew Dismore uk.org.publicwhip/member/1628 Andrew Dismore uk.org.publicwhip/person/10169 3 2010-03-10-8f616a6e-10169-0
fbbd74a536d18bcf7e85d53acbd00bf3beba4ae2 (Registered 12 February 2010) Sponsorships 8f616a6e 2010-03-10 Andrew Dismore uk.org.publicwhip/member/1628 Andrew Dismore uk.org.publicwhip/person/10169 4 2010-03-10-8f616a6e-10169-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 14.959ms · Data source: mySociety Data · About: simonw/register-of-members-interests-datasette