home / cp40x

names

5 rows where case_id = 1984986

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3884213 1984986 1984986 plaintiff Wylkynson William mercer 585869 585869 Wylkynson, William, of London, mercer 0
3884214 1984986 1984986 defendant Tayller John clerk 645157 645157 Tayller, John, of Hornebye, Yorks, clerk 0
3884215 1984986 1984986 defendant Buccle Leonard yeoman 643546 643546 Buccle, Leonard, of Hornebye, yeoman 1
3884216 1984986 1984986 defendant Marlett Richard gent 599447 599447 Marlett, Richard, of Newyngton, Surrey, gent 2
3884217 1984986 1984986 defendant Hollys Henry gent 645158 645158 Hollys, Henry, of Craneley, Surrey, gent 3

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