home / cp40x

names

6 rows where case_id = 1992407

✎ 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
3906340 1992407 1992407 plaintiff Marden George     Marden, George 0
3906341 1992407 1992407 defendant Marden Thomas yeoman 649367 649367 Marden, Thomas, of Doingherst, yeoman 0
3906342 1992407 1992407 defendant Carter Henry   630866 630866 Carter, Henry, of Brentwood, horse courser 1
3906343 1992407 1992407 defendant Long John   630866 630866 Long, John, of Brentwood, horse courser 2
3906344 1992407 1992407 defendant Foster Richard horse courser   Foster, Richard, horse courser 3
3906345 1992407 1992407 defendant Clovell William husbandman 586372 586372 Clovell, William, of Billerica, 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 6.099ms