home / cp40x

names

6 rows where case_id = 2327829

✎ 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
4903877 2327829 2327829 plaintiff (not given)   prior of Ely Priory   Ely Priory, prior of 0
4903878 2327829 2327829 defendant Sturdy John yeoman 632234 632234 Sturdy, John, of Eryth, Hunts, yeoman 0
4903879 2327829 2327829 defendant Chauntor William husbandman 586144 586144 Chauntor, William, of Eryth, husbandman 1
4903880 2327829 2327829 defendant Lyly John chaplain 593853 593853 Lyly, John, of Wysbech, chaplain 2
4903881 2327829 2327829 defendant Agge Richard husbandman 755958 755958 Agge, Richard, of Tyd St Giles, husbandman 3
4903882 2327829 2327829 defendant Wright Henry husbandman 755958 755958 Wright, Henry, of Tyd St Giles, 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 15.06ms