home / cp40x

names

7 rows where case_id = 2285318

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4765859 2285318 2285318 plaintiff Knottyngley of London mercer   Knottyngley, of London, mercer, administrator of 0
4765860 2285318 2285318 plaintiff Nyoll John Exeter diocese 589661 589661 Nyoll, John, of Modbury, Exeter diocese 1
4765861 2285318 2285318 defendant Setryngton Robert chapman 785843 785843 Setryngton, Robert, of York, Yorks, chapman 0
4765862 2285318 2285318 defendant Wyke Robert chapman 799159 799159 Wyke, Robert, of Maidenhead, Berks, chapman 1
4765863 2285318 2285318 defendant Davy John chapman 586115 586115 Davy, John, of Lamport, Soms, chapman 2
4765864 2285318 2285318 defendant Wynter Benedict chapman 586115 586115 Wynter, Benedict, of Lamport, Soms, chapman 3
4765865 2285318 2285318 defendant Kyme John chapman 799160 799160 Kyme, John, of Dounham Heath, Norf, chapman 4

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.38ms