home / cp40x

names

7 rows where case_id = 2311016

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4848528 2311016 2311016 plaintiff Shipley John     Shipley, John 0
4848529 2311016 2311016 defendant Tranholme John yeoman 812208 812208 Tranholme, John, of Tranholme by Worleton, yeoman 0
4848530 2311016 2311016 defendant Taylour John tailor 625076 625076 Taylour, John, of Siggeston, tailor 1
4848531 2311016 2311016 defendant Wylkys William jun, of Pottowe, husbandman   Wylkys, William, jun, of Pottowe, husbandman 2
4848532 2311016 2311016 defendant Gybson John husbandman 639141 639141 Gybson, John, of Pottowe, husbandman 3
4848533 2311016 2311016 defendant Frereson John husbandman 812209 812209 Frereson, John, of Great Eddeston, husbandman 4
4848534 2311016 2311016 defendant Frereson Robert husbandman 812210 812210 Frereson, Robert, of Marton on Sevyn, husbandman 5

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