home / cp40x

names

7 rows where case_id = 1874550

✎ 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
3622424 1874550 1874550 plaintiff Pryne William (legal representative) 585869 585869 Pryne, William, of London, salter, executrix of 0
3622425 1874550 1874550 plaintiff Proyne Margaret widow   Proyne, Margaret, widow 1
3622426 1874550 1874550 defendant Coke William clothier 595929 595929 Coke, William, of Long Mylford, clothier 0
3622427 1874550 1874550 defendant Wryght Thomas clothmaker 595930 595930 Wryght, Thomas, of Groton, clothmaker 1
3622428 1874550 1874550 defendant Warberton Thomas clothmaker 595931 595931 Warberton, Thomas, of Nelond, clothmaker 2
3622429 1874550 1874550 defendant Mannyng Thomas clothmaker 585947 585947 Mannyng, Thomas, of Hadley, clothmaker 3
3622430 1874550 1874550 defendant Belcham John clothmaker 595932 595932 Belcham, John, of Waldyngfeld, clothmaker 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 13.88ms