home / cp40x

names

7 rows where case_id = 2048934

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4068217 2048934 2048934 plaintiff Kendall Nicholas esq   Kendall, Nicholas, esq 0
4068218 2048934 2048934 defendant Clemens John husbandman 594995 594995 Clemens, John, of Morvall, husbandman 0
4068219 2048934 2048934 defendant Clemens Henry laborer 594995 594995 Clemens, Henry, of Morvall, laborer 1
4068220 2048934 2048934 defendant Hocken William slater 686743 686743 together with Hocken, William, of Loo, slater 2
4068221 2048934 2048934 defendant Clemens Edward weaver 619782 619782 Clemens, Edward, of Lanyvet, weaver 3
4068222 2048934 2048934 defendant Willcocke John glover 683496 683496 Willcocke, John, of Lyskerde, glover 4
4068223 2048934 2048934 defendant Holbeane Richard cordwainer 683496 683496 Holbeane, Richard, of Lyskerde, cordwainer 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 13.745ms