home / cp40x

names

7 rows where case_id = 1982483

✎ 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
3876802 1982483 1982483 plaintiff Hardyng William clerk   Hardyng, William, clerk 0
3876803 1982483 1982483 defendant Marton John yeoman 643964 643964 Marton, John, of Crayke, yeoman 0
3876804 1982483 1982483 defendant Crayke Thomas yeoman 643964 643964 Crayke, Thomas, of Crayke, yeoman 1
3876805 1982483 1982483 defendant Carver John yeoman 643965 643965 Carver, John, of Custon, yeoman 2
3876806 1982483 1982483 defendant Thurnam Christopher yeoman 643965 643965 Thurnam, Christopher, of Custon, yeoman 3
3876807 1982483 1982483 defendant Fayrpount Thomas yeoman 643965 643965 Fayrpount, Thomas, of Custon, yeoman 4
3876808 1982483 1982483 defendant Barker Robert yeoman 643966 643966 Barker, Robert, of Styllyngton, 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 15.415ms