home / cp40x

names

10 rows where case_id = 2340676

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4945809 2340676 2340676 plaintiff Hunte John     Hunte, John 0
4945810 2340676 2340676 defendant Lome Richard saddler 608325 608325 Lome, Richard, of Launceston, Cornw, saddler 0
4945811 2340676 2340676 defendant Hornebroke Nicholas tanner 587287 587287 Hornebroke, Nicholas, of Launceston, tanner 1
4945812 2340676 2340676 defendant Steven John tanner 587287 587287 Steven, John, of Launceston, tanner 2
4945813 2340676 2340676 defendant Steven John soaper 587287 587287 Steven, John, of Launceston, soaper 3
4945814 2340676 2340676 defendant Warde Thomas brasier 587287 587287 Warde, Thomas, of Launceston, brasier 4
4945815 2340676 2340676 defendant Basille Henry shoemaker 587287 587287 Basille, Henry, of Launceston, shoemaker 5
4945816 2340676 2340676 defendant Fonston or Fouston John tailor 587287 587287 Fonston or Fouston, John, of Launceston, tailor 6
4945817 2340676 2340676 defendant Proute John shoemaker 587287 587287 Proute, John, of Launceston, shoemaker 7
4945818 2340676 2340676 defendant Facy Robert shoemaker 587287 587287 Facy, Robert, of Launceston, shoemaker 8

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 17.415ms