home / cp40x

names

6 rows where case_id = 2270814

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4717513 2270814 2270814 plaintiff Aleyn Roger (legal representative)   Aleyn, Roger, executor of 0
4717514 2270814 2270814 plaintiff Selby Stephen     Selby, Stephen 1
4717515 2270814 2270814 defendant Burgeys John husbandman 587514 587514 Burgeys, John, of Tokeby, husbandman 0
4717516 2270814 2270814 defendant Smyth Thomas husbandman 772297 772297 Smyth, Thomas, of Great Bowdon, husbandman 1
4717517 2270814 2270814 defendant Norton John husbandman 586435 586435 Norton, John, of Leicester, husbandman 2
4717518 2270814 2270814 defendant Couper Thomas cooper 586435 586435 Couper, Thomas, of Leicester, cooper 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 8.307ms