home / cp40x

names

7 rows where case_id = 1971340

✎ 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
3842990 1971340 1971340 plaintiff Calwodley John     Calwodley, John 0
3842991 1971340 1971340 defendant Trevethyn Thomas   638497 638497 Trevethyn, Thomas, of Patstowe, marchant 0
3842992 1971340 1971340 defendant Nowell George husbandman 621903 621903 Nowell, George, of Patstowe, husbandman 1
3842993 1971340 1971340 defendant Irishe David laborer 621903 621903 Irishe, David, of Patstowe, laborer 2
3842994 1971340 1971340 defendant Iryshe ichard laborer 621903 621903 Iryshe, ichard, of Patstowe, laborer 3
3842995 1971340 1971340 defendant Pyper Thomas carpenter 638117 638117 Pyper, Thomas, of St Tysie, carpenter 4
3842996 1971340 1971340 defendant Miller John carpenter 638498 638498 Miller, John, of Little Pederyk, carpenter 5

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