home / cp40x

names

6 rows where case_id = 2268670

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4710595 2268670 2268670 plaintiff Rawele John   585936 585936 Rawele, John, of Norwich 0
4710596 2268670 2268670 defendant Brigge Robert husbandman 590362 590362 Brigge, Robert, of Eston, husbandman 0
4710597 2268670 2268670 defendant Cok Thomas husbandman 779373 779373 Cok, Thomas, of Spekesworth, husbandman 1
4710598 2268670 2268670 defendant Everard Robert laborer 619172 619172 Everard, Robert, of Dytton, laborer 2
4710599 2268670 2268670 defendant Umfrey Richard laborer 729321 729321 Umfrey, Richard, of Horstede, laborer 3
4710600 2268670 2268670 defendant Fuller Henry fuller 783315 783315 Fuller, Henry, of Trous, fuller 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 16.891ms