home / cp40x

names

6 rows where case_id = 2427222

✎ 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
5239810 2427222 2427222 plaintiff Host Nicholas mercer 585936 585936 Host, Nicholas, of Norwich, mercer 0
5239811 2427222 2427222 defendant Yong Thomas yeoman 586134 586134 Yong, Thomas, of Ipswich, yeoman 0
5239812 2427222 2427222 defendant Husbond Thomas mercer 585907 585907 Husbond, Thomas, of Bishops Lenn, mercer 1
5239813 2427222 2427222 defendant Berwyk Henry smith 600826 600826 Berwyk, Henry, of Sheryngton, smith 2
5239814 2427222 2427222 defendant Frend Clement raffman 863022 863022 Frend, Clement, of Wymerton, raffman 3
5239815 2427222 2427222 defendant Baron Benedict smith 586471 586471 Baron, Benedict, 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 18.545ms