home / cp40x

names

7 rows where case_id = 1903104

✎ 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
3626361 1903104 1903104 plaintiff Atwill John, junior     Atwill, John, junior 0
3626362 1903104 1903104 defendant Mennard Thomas yeoman 596837 596837 Mennard, Thomas, of Lamerton, Devon, yeoman 0
3626363 1903104 1903104 defendant Brode John miller 596838 596838 Brode, John, of Trewenne, miller 1
3626364 1903104 1903104 defendant Crymp Thomas husbandman 596839 596839 Crymp, Thomas, of Launston, husbandman 2
3626365 1903104 1903104 defendant Pyers John tailor 596839 596839 Pyers, John, of Launston, tailor 3
3626366 1903104 1903104 defendant Comer Robert husbandman 596840 596840 Comer, Robert, of Treglast, husbandman 4
3626367 1903104 1903104 defendant Lygh Simon yeoman 596841 596841 Lygh, Simon, of Trewyke, 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 5.909ms