home / cp40x

names

6 rows where place_id = 757815

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4448881 2184589 2184589 plaintiff Gardener William   757815 757815 Gardener, William, of Southnovere 0
4515979 2205419 2205419 defendant Fagger William   757815 757815 Fagger, William, of Southnovere 4
4728572 2274174 2274174 defendant Fethere Walter weaver 757815 757815 Fethere, Walter, of Southnovere, weaver 2
4728573 2274174 2274174 defendant atte Wode Robert weaver 757815 757815 atte Wode, Robert, of Southnovere, weaver 3
4743692 2278684 2278684 defendant Rysshere Simon baker 757815 757815 Rysshere, Simon, of Southnovere, baker 1
4780697 2289960 2289960 defendant Asshele William   757815 757815 Asshele, William, of Southnovere, parchment maker 0

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 15.113ms