home / cp40x

names

5 rows where place_id = 621429

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3741341 1939159 1939159 defendant Fleccher Thomas fletcher 621429 621429 Fleccher, Thomas, of Tetenhall, fletcher 0
3862498 1977652 1977652 defendant Fyppon William husbandman 621429 621429 Fyppon, William, of Tetenhall, husbandman 0
3910703 1993895 1993895 defendant Felkyn John (legal representative) 621429 621429 Felkyn, John, of Tetenhall, executrix of 3
4489941 2197561 2197561 plaintiff Turney John   621429 621429 Turney, John, of Tetenhall, on his own account 0
4489942 2197561 2197561 defendant atte Brook William   621429 621429 atte Brook, William, of Tetenhall 0

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