home / cp40x

names

7 rows where case_id = 1946882

✎ 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
3765532 1946882 1946882 plaintiff Lane William (legal representative) 625668 625668 Lane, William, of Hoggeshawe, executors of 0
3765533 1946882 1946882 plaintiff Harrard Humphrey rector of Wold   (Harrard, Humphrey, rector of Wold 1
3765534 1946882 1946882 plaintiff Wykeley Henry gent   Wykeley, Henry, gent 2
3765535 1946882 1946882 defendant Bruton John weaver 625669 625669 Bruton, John, of Cronehall, Glos, weaver 0
3765536 1946882 1946882 defendant Duswell William tucker 625670 625670 Duswell, William, of Torteworth, Glos, tucker 1
3765537 1946882 1946882 defendant Strynger John tucker 625671 625671 Strynger, John, of Torteworth, tucker 2
3765538 1946882 1946882 defendant Horwood John   814787 814787 Horwood, John, of Walcote, Leics, shepherd 3

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