home / cp40x

names

6 rows where case_id = 2461866

✎ 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
5355715 2461866 2461866 plaintiff Knyfton or Knyveton Ralph gent, escheator in Notts and Derbs   Knyfton or Knyveton, Ralph, gent, escheator in Notts and Derbs 0
5355716 2461866 2461866 defendant Tyffe John husbandman 613176 613176 Tyffe, John, of Clareburgh, Notts, husbandman 0
5355717 2461866 2461866 defendant Bagnall Richard husbandman 876978 876978 Bagnall, Richard, of Wodehall, Derbs, husbandman 1
5355718 2461866 2461866 defendant Bagnall John, junior husbandman 876979 876979 Bagnall, John, junior, of Rysleyne, Derbs, husbandman 2
5355719 2461866 2461866 defendant Whetton John husbandman 876980 876980 Whetton, John, of Edmaston, Derbs, husbandman 3
5355720 2461866 2461866 defendant Stannop Thomas esq 876981 876981 Stannop, Thomas, of Booll, Notts, esq 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 17.597ms