home / cp40x

names

5 rows where case_id = 1931488

✎ 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
3716598 1931488 1931488 plaintiff Constable John clerk, master of Holy Trinity College and Almshouse, Tateshalle   Constable, John, clerk, master of Holy Trinity College and Almshouse, Tateshalle 0
3716599 1931488 1931488 defendant Ives Richard husbandman 589133 589133 Ives, Richard, of Marton, husbandman 0
3716600 1931488 1931488 defendant Bell John husbandman 589133 589133 Bell, John, of Marton, husbandman 1
3716601 1931488 1931488 defendant Brome Robert   589133 589133 Brome, Robert, of Marton 2
3716602 1931488 1931488 defendant Byllyngey John husbandman 589133 589133 Byllyngey, John, of Marton, 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 13.196ms