home / cp40x

names

9 rows where case_id = 2552967

✎ 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
5628774 2552967 2552967 plaintiff Porter William     Porter, William 0
5628775 2552967 2552967 defendant Hervy Robert husbandman 587546 587546 Hervy, Robert, of Halton, husbandman 0
5628776 2552967 2552967 defendant Hervy Henry husbandman 587546 587546 Hervy, Henry, of Halton, husbandman 1
5628777 2552967 2552967 defendant Taillour Robert son of Stephen Taillour, of Ulseby, husbandman   Taillour, Robert, son of Stephen Taillour, of Ulseby, husbandman 2
5628778 2552967 2552967 defendant Yongflete Thomas husbandman 651991 651991 Yongflete, Thomas, of Ulseby, husbandman 3
5628779 2552967 2552967 defendant Reede John husbandman 587546 587546 Reede, John, of Halton, husbandman 4
5628780 2552967 2552967 defendant Margarete Robert husbandman 587546 587546 Margarete, Robert, of Halton, husbandman 5
5628781 2552967 2552967 defendant Cayton Thomas husbandman 587546 587546 Cayton, Thomas, of Halton, husbandman 6
5628782 2552967 2552967 defendant Hervy William husbandman 587546 587546 Hervy, William, of Halton, husbandman 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 18.404ms