home / cp40x

names

8 rows where case_id = 2522942

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5560184 2522942 2522942 plaintiff Skyrwith Katherine widow   Skyrwith, Katherine, widow, administrator of 0
5560185 2522942 2522942 plaintiff Pratte William     Pratte, William 1
5560186 2522942 2522942 defendant Lovell William yeoman 591951 591951 Lovell, William, of Briggenorth, Salop, yeoman 0
5560187 2522942 2522942 defendant Adam John yeoman 589256 589256 Adam, John, of Newebery, Berks, yeoman 1
5560188 2522942 2522942 defendant Saunder John yeoman 588643 588643 Saunder, John, of Walden, Essex, yeoman 2
5560189 2522942 2522942 defendant Acton John yeoman 586958 586958 Acton, John, of Gloucester, yeoman 3
5560190 2522942 2522942 defendant Fosbroke John (legal representative) 585970 585970 Fosbroke, John, of Oxford, executor of 4
5560191 2522942 2522942 defendant Broun Henry yeoman 593973 593973 Broun, Henry, of Banbery, Oxon, yeoman 5

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 13.696ms