home / cp40x

names

6 rows where case_id = 1957972

✎ 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
3800160 1957972 1957972 plaintiff Laxston William grocer 585869 585869 Laxston, William, of London, grocer 0
3800161 1957972 1957972 defendant Lovelake George chapman 591145 591145 Lovelake, George, of Hungerford, Berks, chapman 0
3800162 1957972 1957972 defendant Fraunceys Henry chapman 588332 588332 Fraunceys, Henry, of Westchester, Cheshire, chapman 1
3800163 1957972 1957972 defendant Worseley Otwell gent 588333 588333 Worseley, Otwell, of Westchester, gent 2
3800164 1957972 1957972 defendant Bowdon William haberdasher 586360 586360 Bowdon, William, of Chelmesford, Essex, haberdasher 3
3800165 1957972 1957972 defendant Hurleston Richard chapman 588333 588333 Hurleston, Richard, of Westchester, chapman 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 16.612ms