home / cp40x

names

6 rows where case_id = 1963698

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3818532 1963698 1963698 plaintiff Maunsell John     Maunsell, John 0
3818533 1963698 1963698 defendant Smart Thomas fisher 634385 634385 Smart, Thomas, of Hornesbek, fisher 0
3818534 1963698 1963698 defendant Clythe Peter fisher 628429 628429 Clythe, Peter, of Hornesey, fisher 1
3818535 1963698 1963698 defendant Smart Richard yeoman 634385 634385 Smart, Richard, of Hornesbek, yeoman 2
3818536 1963698 1963698 defendant Dawson William smith 588641 588641 Dawson, William, of Denton, smith 3
3818537 1963698 1963698 defendant Lekyngby Stephen smith 634382 634382 Lekyngby, Stephen, of Flamburgh, smith 4

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