home / cp40x

names

7 rows where place_id = 663165

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3967766 2013357 2013357 defendant Lewys Henry gent 663165 663165 Lewys, Henry, of Cardiffe, Glamorgan, gent 0
4128361 2070431 2070431 defendant Apevan John Robert gent 663165 663165 Apevan, John Robert, of Cardiffe, Glamorgan, gent 0
4263160 2117344 2117344 defendant Welles William chapman 663165 663165 Welles, William, of Cardiffe, Glamorgan, chapman 2
4289805 2126414 2126414 defendant Tanner John merchant 663165 663165 Tanner, John, of Cardiffe, Glamorgan, merchant 0
4306823 2132527 2132527 defendant Tanner John merchant 663165 663165 Tanner, John, of Cardiffe, Glamorgan, merchant 0
4340579 2143974 2143974 defendant Jones William yeoman 663165 663165 Jones, William, of Cardiffe, Glamorgan, yeoman 0
4396024 2163246 2163246 defendant Tanner John mercer 663165 663165 Tanner, John, of Cardiffe, Glamorgan, chapman, mercer 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 16.526ms