home / cp40x

names

7 rows where place_id = 602005

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3648028 1909784 1909784 defendant Claghton William esq 602005 602005 Claghton, William, of Ireby, Lancs, esq 3
3648039 1909785 1909785 defendant Claghton William esq 602005 602005 Claghton, William, of Ireby, Lancs, esq 3
4162313 2082379 2082379 defendant Redmayne William esq 602005 602005 Redmayne, William, of Ireby, Lancs, esq 1
4224138 2103928 2103928 defendant Redmayne William, senior esq 602005 602005 Redmayne, William, senior, of Ireby, Lancs, esq 3
4315798 2135635 2135635 defendant Thornton Marmaduke   602005 602005 Thornton, Marmaduke, of Ireby, Lancs 0
4321006 2137441 2137441 defendant Tatham Richard husbandman 602005 602005 Tatham, Richard, of Ireby, Lancs, husbandman 2
4846934 2310547 2310547 defendant Atkynson Roger yeoman 602005 602005 Atkynson, Roger, of Ireby, Lancs, yeoman 2

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