home / cp40x

names

5 rows where case_id = 1907859

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3641693 1907859 1907859 plaintiff Brette William clerk   Brette, William, clerk 0
3641694 1907859 1907859 defendant Bekerton Robert weaver 588583 588583 Bekerton, Robert, of Caston, weaver 0
3641695 1907859 1907859 defendant Brette Robert husbandman 586170 586170 Brette, Robert, of Tybenham, husbandman 1
3641696 1907859 1907859 defendant Layte Thomas husbandman 597296 597296 Layte, Thomas, of Shropham, husbandman 2
3641697 1907859 1907859 defendant Gyles John husbandman 600596 600596 Gyles, John, of Asshwelthorp, husbandman 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 16.003ms