home / cp40x

names

5 rows where case_id = 1937151

✎ 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
3734885 1937151 1937151 plaintiff Grewe Thomas butcher 585936 585936 Grewe, Thomas, of Norwich, butcher 0
3734886 1937151 1937151 defendant Michell Thomas husbandman 600741 600741 Michell, Thomas, of Holston, husbandman 0
3734887 1937151 1937151 defendant Haggethorp Richard yeoman 592662 592662 Haggethorp, Richard, of Letton, yeoman 1
3734888 1937151 1937151 defendant Wyllys Thomas husbandman 593527 593527 Wyllys, Thomas, of Saxlyngham, husbandman 2
3734889 1937151 1937151 defendant Leman William husbandman 588641 588641 Leman, William, of Denton, husbandman 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 18.823ms