home / cp40x

names

9 rows where case_id = 2536678

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5605720 2536678 2536678 plaintiff Stapleton Thomas esq   Stapleton, Thomas, esq 0
5605721 2536678 2536678 defendant Risshton Richard esq 905151 905151 Risshton, Richard, of Dynknall, Lancs, esq 0
5605722 2536678 2536678 defendant Duxbury Reginald laborer 652617 652617 Duxbury, Reginald, of Church, Lancs, laborer 1
5605723 2536678 2536678 defendant Ryley Roger laborer 661263 661263 Ryley, Roger, of Church, laborer 2
5605724 2536678 2536678 defendant Hunsworth Edward laborer 661263 661263 Hunsworth, Edward, of Church, laborer 3
5605725 2536678 2536678 defendant Haworth Richard laborer 905153 905153 Haworth, Richard, of Akryngton, Lancs, laborer 4
5605726 2536678 2536678 defendant Heyndell Christopher laborer 743593 743593 Heyndell, Christopher, of Cowell, Lancs, laborer 5
5605727 2536678 2536678 defendant Willice Henry laborer 905154 905154 Willice, Henry, of Rishton, Lancs, laborer 6
5605728 2536678 2536678 defendant Grymshawe Robert laborer 603461 603461 Grymshawe, Robert, of Clayton, Lancs, laborer 7

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