home / cp40x

names

7 rows where case_id = 1999750

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3928141 1999750 1999750 plaintiff Baynbrydge Christopher     Baynbrydge, Christopher 0
3928142 1999750 1999750 defendant Hylton Thomas yeoman 586344 586344 Hylton, Thomas, of Burton, yeoman 0
3928143 1999750 1999750 defendant Penreth Robert yeoman 586344 586344 Penreth, Robert, of Burton, yeoman 1
3928144 1999750 1999750 defendant Hyrde William yeoman 586344 586344 Hyrde, William, of Burton, yeoman 2
3928145 1999750 1999750 defendant Mosse Thomas yeoman 590077 590077 Mosse, Thomas, of Hylton, yeoman 3
3928146 1999750 1999750 defendant Johnson John yeoman 590077 590077 Johnson, John, of Hylton, yeoman 4
3928147 1999750 1999750 defendant Herryson Lawrence yeoman 590077 590077 Herryson, Lawrence, of Hylton, 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.394ms