home / cp40x

names

6 rows where case_id = 2004363

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3942068 2004363 2004363 plaintiff Welshe Hugh mercer 586208 586208 Welshe, Hugh, of Hereford, mercer 0
3942069 2004363 2004363 defendant Wyllyams Richard husbandman 656876 656876 Wyllyams, Richard, of Murton Jeffres, husbandman 0
3942070 2004363 2004363 defendant Passy John yeoman 656877 656877 Passy, John, of Broke in Tytley, yeoman 1
3942071 2004363 2004363 defendant Morys Oliver (legal representative)   Morys, Oliver, executors of 2
3942072 2004363 2004363 defendant Edwyn Richard   623651 623651 (Edwyn, Richard, of Kynton, shoe maker 3
3942073 2004363 2004363 defendant Edwyn Joan     Joan, his wife 4

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