home / cp40x

names

7 rows where place_id = 692157

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4093466 2057979 2057979 defendant Herbert Nicholas esq 692157 692157 Herbert, Nicholas, of Cardyffe, Glamorgan, esq 2
4135488 2073014 2073014 defendant Smyth John gent 692157 692157 Smyth, John, of Cardyffe, Glamorgan, gent 0
4152514 2078992 2078992 defendant Robert David gent 692157 692157 Robert, David, of Cardyffe, Glamorgan, gent, son of John Robert, of Cardiffe, gent 1
4159448 2081371 2081371 defendant Thomas John gent 692157 692157 Thomas, John, of Cardyffe, Glamorgan, alderman, gent 0
4166795 2083881 2083881 defendant Thomas John esq 692157 692157 Thomas, John, of Cardyffe, Glamorgan, alderman, esq 0
4166815 2083889 2083889 defendant Spencer Thomas gent 692157 692157 Spencer, Thomas, of Cardyffe, Glamorgan, gent 0
4194202 2093523 2093523 defendant Dale Daniel alderman 692157 692157 Dale, Daniel, of Cardyffe, Glamorgan, mercer, alderman 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.939ms