home / cp40x

names

7 rows where case_id = 2370871

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5047494 2370871 2370871 plaintiff Parys Walter     Parys, Walter, on his own account 0
5047495 2370871 2370871 defendant Wellesley George merchant 585925 585925 Wellesley, George, of Bristol, merchant 0
5047496 2370871 2370871 defendant Ricard Robert carpenter 586748 586748 Ricard, Robert, of Welles, carpenter 1
5047497 2370871 2370871 defendant Gayllour John husbandman 617273 617273 Gayllour, John, of Woky, husbandman 2
5047498 2370871 2370871 defendant Pecot Thomas fuller 586748 586748 Pecot, Thomas, of Welles, fuller 3
5047499 2370871 2370871 defendant Sewale John embroiderer 585869 585869 Sewale, John, of London, embroiderer 4
5047500 2370871 2370871 defendant Grece John gent 600449 600449 Grece, John, of Boston, Lincs, gent 5

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 14.629ms