home / cp40x

names

7 rows where case_id = 2512858

✎ 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
5526505 2512858 2512858 plaintiff Hykman Hugh     Hykman, Hugh 0
5526506 2512858 2512858 defendant Coley John mercer 618311 618311 Coley, John, of Wellyngton, Salop, mercer 0
5526507 2512858 2512858 defendant Adams Henry yeoman 587210 587210 Adams, Henry, of Merston, yeoman 1
5526508 2512858 2512858 defendant Smyth John carpenter 896456 896456 Smyth, John, of Conen, carpenter 2
5526509 2512858 2512858 defendant Forde Richard yeoman 896457 896457 Forde, Richard, of Ipstoms, yeoman 3
5526510 2512858 2512858 defendant Waclyn Richard yeoman 896458 896458 Waclyn, Richard, of Lollyngton, Derbs, yeoman 4
5526511 2512858 2512858 defendant Smyth Richard yeoman 589162 589162 Smyth, Richard, of Kynges Bromley, yeoman 5

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.684ms