home / cp40x

names

8 rows where case_id = 2243309

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4640402 2243309 2243309 plaintiff Drewe John   766253 766253 Drewe, John, of Harpelee, parson 0
4640403 2243309 2243309 plaintiff Stocke Margaret   603983 603983 Stocke, Margaret, of Little Walsyngham 1
4640404 2243309 2243309 plaintiff Lynge John   603983 603983 Lynge, John, of Little Walsyngham 2
4640405 2243309 2243309 defendant Shraggere John, sen (legal representative) 764840 764840 Shraggere, John, sen, of Methewolde, executors of 0
4640406 2243309 2243309 defendant Shraggere Margaret formerly wife of John   (Shraggere, Margaret, formerly wife of John 1
4640407 2243309 2243309 defendant Peers Edmund of Wygenhale clerk   Peers, Edmund of Wygenhale, clerk 2
4640408 2243309 2243309 defendant Rumbold Richard   777027 777027 Rumbold, Richard, of Methewodle 3
4640409 2243309 2243309 defendant Baxstere Richard   762036 762036 Baxstere, Richard, of Dodelyngton 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.963ms