home / cp40x

names

8 rows where case_id = 2027118

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4006533 2027118 2027118 plaintiff Lightfoote Francis chapman 615257 615257 Lightfoote, Francis, of Richemond, chapman 0
4006534 2027118 2027118 plaintiff Hutchinson Richard chapman 615257 615257 Hutchinson, Richard, of Richemond, chapman 1
4006535 2027118 2027118 defendant Blades Robert yeoman 672664 672664 Blades, Robert, of Belron, yeoman 0
4006536 2027118 2027118 defendant Atkyn Thomas yeoman 672664 672664 Atkyn, Thomas, of Belron, yeoman 1
4006537 2027118 2027118 defendant Appleby Henry yeoman 612361 612361 Appleby, Henry, of Barnard Castell, Durham, yeoman 2
4006538 2027118 2027118 defendant Hildreth Cuthbert yeoman 629678 629678 Hildreth, Cuthbert, of Lartyngton, yeoman 3
4006539 2027118 2027118 defendant Parkyn Cuthbert yeoman 629678 629678 Parkyn, Cuthbert, of Lartyngton, yeoman 4
4006540 2027118 2027118 defendant Barnes Anthony yeoman 672665 672665 Barnes, Anthony, of Stertfurth, 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.913ms