home / cp40x

names

7 rows where case_id = 2290719

✎ 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
4783052 2290719 2290719 plaintiff Curson John (legal representative) 585907 585907 Curson, John, of Bishops Lenn, executor of 0
4783053 2290719 2290719 plaintiff Swanton Andrew     Swanton, Andrew 1
4783054 2290719 2290719 defendant Howelyn John husbandman 590362 590362 Howelyn, John, of Eston, husbandman 0
4783055 2290719 2290719 defendant Rote John   766253 766253 Rote, John, of Harpelee, wheelwright 1
4783056 2290719 2290719 defendant Honyter Thomas   801759 801759 Honyter, Thomas, of Walsoken, wheelwroght 2
4783057 2290719 2290719 defendant Smyth Simon smith 801760 801760 Smyth, Simon, of Cranewys, smith 3
4783058 2290719 2290719 defendant Gagg- Simon smith 593987 593987 Gagg-, Simon, of Gunthorp, smith 4

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