home / cp40x

names

6 rows where case_id = 2333902

✎ 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
4923846 2333902 2333902 plaintiff Moref John   592820 592820 Moref, John, of Dunwich 0
4923847 2333902 2333902 defendant Roo William mercer 778441 778441 Roo, William, of Haddelee, mercer 0
4923848 2333902 2333902 defendant Byrd Thomas pedder 587639 587639 Byrd, Thomas, of St Osith, Essex, pedder 1
4923849 2333902 2333902 defendant Dyche Thomas pedder 822760 822760 Dyche, Thomas, of Keresey, Suff, pedder 2
4923850 2333902 2333902 defendant Hose Stephen   602818 602818 Hose, Stephen, of Kelsale, Suff, "den" 3
4923851 2333902 2333902 defendant Baxster John merchant 600449 600449 Baxster, John, of Boston, Lincs, merchant 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 15.215ms