home / cp40x

names

6 rows where case_id = 2043233

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4052259 2043233 2043233 plaintiff Wylson John clerk   Wylson, John, clerk 0
4052260 2043233 2043233 defendant Wharton Jane widow   Wharton, Jane, widow, executrix of Christopher Hargrave, of Hargrave in Craven, Yorks, yeoman, executors of 0
4052261 2043233 2043233 defendant Hargrave George hosier 585869 585869 (Hargrave, George, of London, hosier 1
4052262 2043233 2043233 defendant Hargrave Peter yeoman 585869 585869 Hargrave, Peter, of London, yeoman 2
4052263 2043233 2043233 defendant Hargrave Gawin clothworker 585869 585869 Hargrave, Gawin, of London, clothworker 3
4052264 2043233 2043233 defendant Hargrave Florence spinster 652077 652077 Hargrave, Florence, of Maltbye, yorks, spinster 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.797ms