home / cp40x

names

6 rows where case_id = 2454694

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5332154 2454694 2454694 plaintiff Chechester Richard esq, sheriff of Devon   Chechester, Richard, esq, sheriff of Devon 0
5332155 2454694 2454694 defendant Cole John yeoman 586541 586541 Cole, John, of Exmouth, yeoman 0
5332156 2454694 2454694 defendant Lake Richard husbandman 590091 590091 Lake, Richard, of St Giles, or of Chepyng Toryton, husbandman 1
5332157 2454694 2454694 defendant Thorn John husbandman 588753 588753 Thorn, John, of Braunton Dene, husbandman 2
5332158 2454694 2454694 defendant Hill John tailor 587162 587162 Hill, John, of Ermyngton, tailor 3
5332159 2454694 2454694 defendant Say Richard husbandman 586997 586997 Say, Richard, of Thornerton, husbandman 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 19.223ms