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-30-8f616a6e-24886-2" 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
4d0d9d40f17e34f580e5c8ed1c7e7d5c46771835 Name of donor: The Association of Conservative Clubs Sponsorships 8f616a6e 2015-03-30 Paul Uppal uk.org.publicwhip/member/40670 Paul Uppal uk.org.publicwhip/person/24886 0 2015-03-30-8f616a6e-24886-2
c647c31e63cf4d9cdeff117602c73e63e049d1c1 Address of donor: 24 Old Queens Street, London SW1H 9HP Sponsorships 8f616a6e 2015-03-30 Paul Uppal uk.org.publicwhip/member/40670 Paul Uppal uk.org.publicwhip/person/24886 1 2015-03-30-8f616a6e-24886-2
a287627f7ed1f4ed80790fde05dffff09402397f Amount of donation or nature and value if donation in kind: £5,000 Sponsorships 8f616a6e 2015-03-30 Paul Uppal uk.org.publicwhip/member/40670 Paul Uppal uk.org.publicwhip/person/24886 2 2015-03-30-8f616a6e-24886-2
382e6d5a9383c7ddb59833b3f97bbfe44aa00da2 Donor status: company, registration 457188 Sponsorships 8f616a6e 2015-03-30 Paul Uppal uk.org.publicwhip/member/40670 Paul Uppal uk.org.publicwhip/person/24886 3 2015-03-30-8f616a6e-24886-2
6accfac79f7549d3946c66e57cecb71b324e458c (Registered 15 August 2014) Sponsorships 8f616a6e 2015-03-30 Paul Uppal uk.org.publicwhip/member/40670 Paul Uppal uk.org.publicwhip/person/24886 4 2015-03-30-8f616a6e-24886-2

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