home / cp40x

names

7 rows where case_id = 2533918

✎ 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
5596797 2533918 2533918 plaintiff Cockessey John     Cockessey, John 0
5596798 2533918 2533918 defendant Gristowe or Griscowe Walter miller 586544 586544 Gristowe or Griscowe, Walter, of Salford, Warks, miller 0
5596799 2533918 2533918 defendant Bull Thomas husbandman 615836 615836 Bull, Thomas, of Offenham, husbandman 1
5596800 2533918 2533918 defendant Best Thomas husbandman 615836 615836 Best, Thomas, of Offenham, husbandman 2
5596801 2533918 2533918 defendant Mosmere Thomas tailor 609679 609679 Mosmere, Thomas, of Magna Malvern, tailor 3
5596802 2533918 2533918 defendant Mounslowe John administrators of   Mounslowe, John, administrators of 4
5596803 2533918 2533918 defendant Lylly Richard husbandman 594989 594989 (Lylly, Richard, of Tyberton, husbandman 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 15.491ms