home / cp40x

names

6 rows where case_id = 2314786

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4860953 2314786 2314786 plaintiff Colyn Robert     Colyn, Robert 0
4860954 2314786 2314786 defendant Bustard Richard mariner 603193 603193 Bustard, Richard, of Saltaysshe, mariner 0
4860955 2314786 2314786 defendant Cosyn John smith 805203 805203 Cosyn, John, of Leskyred, smith 1
4860956 2314786 2314786 defendant Davy Stephen husbandman 814082 814082 Davy, Stephen, of Michell Lomke, husbandman 2
4860957 2314786 2314786 defendant Leterych William gent 814083 814083 Leterych, William, of Plimouth, Devon, gent 3
4860958 2314786 2314786 defendant Brykkes John draper 585869 585869 Brykkes, John, of London, draper 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 12.539ms