home / cp40x

names

10 rows where case_id = 2004002

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3941015 2004002 2004002 plaintiff Tayllor Thomas clerk   Tayllor, Thomas, clerk 0
3941016 2004002 2004002 defendant Duppa Thomas husbandman 656610 656610 Duppa, Thomas, of Uphamton, husbandman 0
3941017 2004002 2004002 defendant Duppa William husbandman 656610 656610 Duppa, William, of Uphamton, husbandman 1
3941018 2004002 2004002 defendant Dogett Hugh   656611 656611 Dogett, Hugh, of Sholdon, husbandmn 2
3941019 2004002 2004002 defendant Tayllor Richard husbandman 613489 613489 Tayllor, Richard, of Pembrige, husbandman 3
3941020 2004002 2004002 defendant Tayllor James husbandman 656612 656612 Tayllor, James, of Sholdon, husbandman 4
3941021 2004002 2004002 defendant Morys Richard, senior husbandman 656612 656612 Morys, Richard, senior, of Sholdon, husbandman 5
3941022 2004002 2004002 defendant Morys Richard, junior husbandman 656612 656612 Morys, Richard, junior, of Sholdon, husbandman 6
3941023 2004002 2004002 defendant Dyas Richard laborer 656612 656612 Dyas, Richard, of Sholdon, laborer 7
3941024 2004002 2004002 defendant Johns Alice spinster 656612 656612 Johns, Alice, of Sholdon, spinster 8

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.385ms