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 = "2015-03-09-8f616a6e-10352-1" 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
e1c890bf6d6a32711fcd303e339d5342501112df Name of donor: Sir Richard Sutton Estates Ltd Sponsorships 8f616a6e 2015-03-09 Edward Leigh uk.org.publicwhip/member/40266 Edward Leigh uk.org.publicwhip/person/10352 0 2015-03-09-8f616a6e-10352-1
2cd4e71dca46367abef5c67695a1f72068ef30d4 Address of donor (the address of individuals will not be published): 14 Bolton Street, Piccadilly, London W1J 8BF Sponsorships 8f616a6e 2015-03-09 Edward Leigh uk.org.publicwhip/member/40266 Edward Leigh uk.org.publicwhip/person/10352 1 2015-03-09-8f616a6e-10352-1
d0134ddd66fba8478a6f2d1e187e62966b311d8f Amount of donation or nature and value if donation in kind: £2,000 Sponsorships 8f616a6e 2015-03-09 Edward Leigh uk.org.publicwhip/member/40266 Edward Leigh uk.org.publicwhip/person/10352 2 2015-03-09-8f616a6e-10352-1
f7024ac232d9c6911013b2b783d2a788a636b7e8 Donor status: company, registration 00346359 Sponsorships 8f616a6e 2015-03-09 Edward Leigh uk.org.publicwhip/member/40266 Edward Leigh uk.org.publicwhip/person/10352 3 2015-03-09-8f616a6e-10352-1
3c0cd68fb36c0794b71404c1d662c94da8fc5407 (Registered 8 January 2015) Sponsorships 8f616a6e 2015-03-09 Edward Leigh uk.org.publicwhip/member/40266 Edward Leigh uk.org.publicwhip/person/10352 4 2015-03-09-8f616a6e-10352-1

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