home / cp40x

names

6 rows where case_id = 2143146

✎ 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
4338318 2143146 2143146 plaintiff Burnebye Richard     Burnebye, Richard 0
4338319 2143146 2143146 plaintiff Jenkins William     Jenkins, William 1
4338320 2143146 2143146 defendant Broughe Thomas chapman 655141 655141 Broughe, Thomas, of Leedes, Yorks, chapman 0
4338321 2143146 2143146 defendant Cordell Thomas mercer 636343 636343 Cordell, Thomas, of Peterborowe, Nhants, mercer 1
4338322 2143146 2143146 defendant Thorne Henry   739993 739993 Thorne, Henry, of Peterborowe, gewnt 2
4338323 2143146 2143146 defendant Saule Robert chapman 626138 626138 Saule, Robert, of Hornecastell, Lincs, chapman 3

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