home / cp40x

names

7 rows where case_id = 1941685

✎ 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
3749220 1941685 1941685 plaintiff Hilton Elias     Hilton, Elias 0
3749221 1941685 1941685 plaintiff Hay Richard     Hay, Richard 1
3749222 1941685 1941685 defendant Stokys Richard butcher 587000 587000 Stokys, Richard, of Marden, butcher 0
3749223 1941685 1941685 defendant Mayo William cordwainer 587000 587000 Mayo, William, of Marden, cordwainer 1
3749224 1941685 1941685 defendant Sewell Richard currier 587000 587000 Sewell, Richard, of Marden, currier 2
3749225 1941685 1941685 defendant Tebold John husbandman 587000 587000 Tebold, John, of Marden, husbandman 3
3749226 1941685 1941685 defendant Sperlyng Robert husbandman 587000 587000 Sperlyng, Robert, of Marden, husbandman 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 11.617ms