home / cp40x

names

6 rows where place_id = 623374

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3752110 1942582 1942582 defendant Haugh James gent 623374 623374 Haugh, James, of Styskey, gent 0
3878148 1982941 1982941 defendant Chyld Robert clerk 623374 623374 Chyld, Robert, of Styskey, clerk 0
3904373 1991709 1991709 plaintiff Greve John husbandman 623374 623374 Greve, John, of Styskey, husbandman 1
3909616 1993522 1993522 plaintiff Greve John   623374 623374 Greve, John, of Styskey 2
5235679 2426016 2426016 defendant Catte John husbandman 623374 623374 Catte, John, of Styskey, husbandman 0
5246617 2429173 2429173 defendant Cat John shipman 623374 623374 Cat, John, of Styskey, shipman 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 7.873ms