home / cp40x

names

6 rows where case_id = 2427224

✎ 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
5239823 2427224 2427224 plaintiff Host Richard mercer 585936 585936 Host, Richard, of Norwich, mercer 0
5239824 2427224 2427224 defendant Yong Thomas porter 586134 586134 Yong, Thomas, of Ipswich, porter 0
5239825 2427224 2427224 defendant Husbond Thomas mercer 585907 585907 Husbond, Thomas, of Bishops Lenn, mercer 1
5239826 2427224 2427224 defendant Berwyk Thomas smith 600826 600826 Berwyk, Thomas, of Sheryngton, smith 2
5239827 2427224 2427224 defendant Freend Clement raffman 588486 588486 Freend, Clement, of Wynterton, raffman 3
5239828 2427224 2427224 defendant Baron Be smith 586471 586471 Baron, Be, of Aylesham, 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 15.949ms