home / cp40x

names

5 rows where case_id = 2068352

✎ 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
4122485 2068352 2068352 plaintiff Cade Robert     Cade, Robert 0
4122486 2068352 2068352 defendant Hamwood John husbandman 698071 698071 Hamwood, John, of Samford, Arundell, husbandman 0
4122487 2068352 2068352 defendant Whitehead John husbandman 698072 698072 Whitehead, John, of Samford Arundell, husbandman 1
4122488 2068352 2068352 defendant Greadye Robert victualer 698072 698072 Greadye, Robert, of Samford Arundell, victualer 2
4122489 2068352 2068352 defendant Clement alias Hurchill John yeoman 698073 698073 Clement alias Hurchill, John, of Holcombe Roges, Devon, yeoman 3

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