home / cp40x

names

6 rows where case_id = 2366779

✎ 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
5033847 2366779 2366779 plaintiff (not given)   master of St Leonard Hospital, York   St Leonard Hospital, York, master of 0
5033848 2366779 2366779 defendant Jervaux William husbandman 789970 789970 Jervaux, William, of Ullay, husbandman 0
5033849 2366779 2366779 defendant Payne John husbandman 789970 789970 Payne, John, of Ullay, husbandman 1
5033850 2366779 2366779 defendant Elot Thomas husbandman 597943 597943 Elot, Thomas, of Wales, husbandman 2
5033851 2366779 2366779 defendant Asclay Thomas husbandman 597943 597943 Asclay, Thomas, of Wales, husbandman 3
5033852 2366779 2366779 defendant Henlay Richard husbandman 789970 789970 Henlay, Richard, of Ullay, husbandman 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.187ms