home / cp40x

names

8 rows where case_id = 2366543

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5033017 2366543 2366543 plaintiff Sherman John (legal representative) 837520 837520 Sherman, John, of Astone, executors of 0
5033018 2366543 2366543 plaintiff Galewey John parson of Preston   (Galewey, John, parson of Preston 1
5033019 2366543 2366543 plaintiff Lyster William parson of Redlyngton   Lyster, William, parson of Redlyngton 2
5033020 2366543 2366543 plaintiff Barkeswell William parson of Astone   Barkeswell, William, parson of Astone 3
5033021 2366543 2366543 plaintiff Colson Richard     Colson, Richard 4
5033022 2366543 2366543 plaintiff of Stoke Dry   husbandman   of Stoke Dry, husbandman 5
5033023 2366543 2366543 defendant Smyth John butcher 585869 585869 Smyth, John, of London, butcher 0
5033024 2366543 2366543 defendant Roper Richard husbandman 587062 587062 Roper, Richard, of Totenham, Middx, husbandman 1

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