home / cp40x

names

6 rows where case_id = 1946881

✎ 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
3765526 1946881 1946881 plaintiff Lane William (legal representative) 625668 625668 Lane, William, of Hoggeshawe, executors of 0
3765527 1946881 1946881 plaintiff Garrard Humphrey rector of Wol-   (Garrard, Humphrey, rector of Wol- 1
3765528 1946881 1946881 plaintiff Wykeley Henry gent   Wykeley, Henry, gent 2
3765529 1946881 1946881 defendant Bruton John weaver 625669 625669 Bruton, John, of Cronehall, Glos, weaver 0
3765530 1946881 1946881 defendant Duswell William tucker 625670 625670 Duswell, William, of Torteworth, Glos, tucker 1
3765531 1946881 1946881 defendant Strynger John tucker 625671 625671 Strynger, John, of Torteworth, tucker 2

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