home / cp40x

names

6 rows where case_id = 2402377

✎ 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
5154168 2402377 2402377 plaintiff Langton Thomas     Langton, Thomas 0
5154169 2402377 2402377 defendant Hawfyn Robert husbandman 850941 850941 Hawfyn, Robert, of Chesylford, husbandman 0
5154170 2402377 2402377 defendant Hervy John yeoman 588029 588029 Hervy, John, of Westhale, yeoman 1
5154171 2402377 2402377 defendant Lete Thomas husbandman 588029 588029 Lete, Thomas, of Westhale, husbandman 2
5154172 2402377 2402377 defendant Story John   843998 843998 Story, John, of Thorphithe laborer 3
5154173 2402377 2402377 defendant Wyghtman John butcher 599042 599042 Wyghtman, John, of Theberton, butcher 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 21.8ms