home / cp40x

names

6 rows where case_id = 2508759

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5512452 2508759 2508759 plaintiff Martyen Lawrence merchant 589604 589604 Martyen, Lawrence, of Broughton, merchant 0
5512453 2508759 2508759 defendant Nouthe John yeoman 587393 587393 Nouthe, John, of Hyngham, Norf, yeoman 0
5512454 2508759 2508759 defendant Somenour alias Clerke Richard butcher 639357 639357 Somenour alias Clerke, Richard, of Erethe, butcher 1
5512455 2508759 2508759 defendant Henson Robert laborer 895095 895095 Henson, Robert, of Alkumbury Weston, laborer 2
5512456 2508759 2508759 defendant Ryppyngale Robert husbandman 797234 797234 Ryppyngale, Robert, of Alkumbury, husbandman 3
5512457 2508759 2508759 defendant Allewyn Nicholas yeoman and wool buyer 604615 604615 Allewyn, Nicholas, of Stoke Clare, Suff, yeoman and wool buyer 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 14.812ms