home / cp40x

names

6 rows where case_id = 1943613

✎ 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
3755301 1943613 1943613 plaintiff West Nicholas grocer 585869 585869 West, Nicholas, of London, grocer 0
3755302 1943613 1943613 defendant Venters William chapman 585936 585936 Venters, William, of Norwich, chapman 0
3755303 1943613 1943613 defendant Kennam John chapman 623956 623956 Kennam, John, of Cecclys, Suff, chapman 1
3755304 1943613 1943613 defendant Hubberd William chapman 600449 600449 Hubberd, William, of Boston, Lincs, chapman 2
3755305 1943613 1943613 defendant Laurence Host chapman 623957 623957 Laurence, Host, of Truro, Cornw, chapman 3
3755306 1943613 1943613 defendant Deane Ralph chapman 623958 623958 Deane, Ralph, of Lewystoft, Suff, 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.798ms