home / cp40x

names

8 rows where case_id = 2209693

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4530067 2209693 2209693 plaintiff Newenton Walter grocer 585869 585869 Newenton, Walter, of London, grocer 0
4530068 2209693 2209693 defendant Scot William     Scot, William 0
4530069 2209693 2209693 defendant Howeton John   586435 586435 Howeton, John, of Leicester 1
4530070 2209693 2209693 defendant Brasyer John   605966 605966 Brasyer, John, of Hampton 2
4530071 2209693 2209693 defendant Perwelle Ralph   586079 586079 Perwelle, Ralph, of Bedford 3
4530072 2209693 2209693 defendant Frend Thomas   591089 591089 Frend, Thomas, of Malmesbury 4
4530073 2209693 2209693 defendant Rustwold Thomas   754521 754521 Rustwold, Thomas, of Berkshire 5
4530074 2209693 2209693 defendant atte Capelle William   590032 590032 atte Capelle, William, of Kent 6

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 14.566ms