home / cp40x

names

7 rows where case_id = 1982302

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3876262 1982302 1982302 plaintiff Gold Thomas gent   Gold, Thomas, gent 0
3876263 1982302 1982302 defendant Knevett William esq 585869 585869 Knevett, William, of London, esq 0
3876264 1982302 1982302 defendant Knevett Katherine Katherine, alias Lady Stryklond, widow   Katherine his wife, alias Borough, Katherine, alias Lady Stryklond, widow 1
3876265 1982302 1982302 defendant Clyfton Thomas laborer 643876 643876 Clyfton, Thomas, of Heyse, Middx, laborer 2
3876266 1982302 1982302 defendant Clyfton Robert husbandman 594921 594921 Clyfton, Robert, of Heston, Middx, husbandman 3
3876267 1982302 1982302 defendant Bulloke Richard gent 640311 640311 Bulloke, Richard, of St Sepulchre, London, gent 4
3876268 1982302 1982302 defendant Chesman William yeoman 587979 587979 Chesman, William, of Shordyche, Middx, 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 9.393ms