home / cp40x

names

7 rows where case_id = 1957571

✎ 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
3798896 1957571 1957571 plaintiff Hornby Henry chaplain   Hornby, Henry, chaplain, executors of 0
3798897 1957571 1957571 plaintiff Watson John clerk   (Watson, John, clerk 1
3798898 1957571 1957571 plaintiff Grewell Thomas clerk, fellow of St Peter's College, Cambridge   Grewell, Thomas, clerk, fellow of St Peter's College, Cambridge 2
3798899 1957571 1957571 plaintiff Marshall John clerk   Marshall, John, clerk 3
3798900 1957571 1957571 plaintiff Say Richard clerk   Say, Richard, clerk 4
3798901 1957571 1957571 defendant Hulton Thomas gent 587074 587074 Hulton, Thomas, of Donyngton, gent 0
3798902 1957571 1957571 defendant Paxford Thomas yeoman 586286 586286 Paxford, Thomas, of Boston, yeoman 1

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 8.101ms