home / cp40x

names

6 rows where case_id = 2214297

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4544814 2214297 2214297 plaintiff Bekyngham Thomas   760279 760279 Bekyngham, Thomas, of Mauby 0
4544815 2214297 2214297 defendant Frankyssh John     Frankyssh, John 0
4544816 2214297 2214297 defendant Wilkynson John   756318 756318 Wilkynson, John, of Berghton 1
4544817 2214297 2214297 defendant (illegible) Adam clerk 756318 756318 _, Adam, of Berghton, clerk 2
4544818 2214297 2214297 defendant Sharp John     Sharp, John 3
4544819 2214297 2214297 defendant Sharp Robert     Sharp, Robert 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 9.437ms