home / cp40x

names

6 rows where case_id = 2511443

✎ 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
5521183 2511443 2511443 plaintiff Chapman Richard     Chapman, Richard 0
5521184 2511443 2511443 defendant Dorsett William clothmaker 594775 594775 Dorsett, William, of Mellys, Soms, clothmaker 0
5521185 2511443 2511443 defendant Jenkyns John glover 758500 758500 Jenkyns, John, of Hornyngesham, glover 1
5521186 2511443 2511443 defendant Dolman John husbandman 895983 895983 Dolman, John, of Fotell, husbandman 2
5521187 2511443 2511443 defendant Chylde William yeoman 607887 607887 Chylde, William, of Tysbury, yeoman 3
5521188 2511443 2511443 defendant Pryne Richard chaplain 599720 599720 Pryne, Richard, of West Knoyle, chaplain 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 5.959ms