home / cp40x

names

6 rows where case_id = 2119099

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4268615 2119099 2119099 plaintiff Jones Henry (legal representative)   Jones, Henry, administrator of 0
4268616 2119099 2119099 plaintiff Barbor William     Barbor, William 1
4268617 2119099 2119099 defendant Hunte Thomas yeoman 586202 586202 Hunte, Thomas, of Westminister, yeoman 0
4268618 2119099 2119099 defendant Iverson William baker 726798 726798 Iverson, William, of Turnmill Strete, Middx, baker 1
4268619 2119099 2119099 defendant Wrighte Roger tailor 726799 726799 Wrighte, Roger, of Grays Inn Lane, Middx, tailor 2
4268620 2119099 2119099 defendant Lighterfoote John yeoman 697647 697647 Lighterfoote, John, of Kentishetowne, Middx, yeoman 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.574ms