home / cp40x

names

5 rows where case_id = 2552960

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5628741 2552960 2552960 plaintiff Porter John   907407 907407 Porter, John, of Welbek, dwelling at Welbek Abbey 0
5628742 2552960 2552960 defendant Seyntpoul Thomas esq 674131 674131 Seyntpoul, Thomas, of Camsall, Yorks, esq 0
5628743 2552960 2552960 defendant Lewar William chaplain 601657 601657 Lewar, William, of Doncaster, Yorks, chaplain 1
5628744 2552960 2552960 defendant Hesyll John merchant 585932 585932 Hesyll, John, of Kingston on Hull, merchant 2
5628745 2552960 2552960 defendant Reynerson Simon   592418 592418 Reynerson, Simon, of Tykhill, Yorks 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 13.046ms