home / cp40x

names

6 rows where case_id = 2396882

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5135456 2396882 2396882 plaintiff Melton William   593282 593282 Melton, William, of Drayton, administrators of 0
5135457 2396882 2396882 plaintiff Tempyll Nicholas gent 586435 586435 (Tempyll, Nicholas, of Leicester, gent 1
5135458 2396882 2396882 plaintiff Myryng Alice   586435 586435 Myryng, Alice, of Leicester, formerly of Drayton 2
5135459 2396882 2396882 defendant Mason John husbandman 592752 592752 Mason, John, of Lynley, husbandman 0
5135460 2396882 2396882 defendant Hewet Robert laborer 592752 592752 Hewet, Robert, of Lynley, laborer 1
5135461 2396882 2396882 defendant May Felicity   592752 592752 May, Felicity, of lynley, servant 2

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.363ms