home / cp40x

names

7 rows where case_id = 1944996

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3759613 1944996 1944996 plaintiff Coke John tanner 624676 624676 Coke, John, of Bisshop Norton, tanner 0
3759614 1944996 1944996 plaintiff Wyndell Henry husbandman 624676 624676 Wyndell, Henry, of Bisshop Norton, husbandman 1
3759615 1944996 1944996 plaintiff Hobson John husbandman 624676 624676 Hobson, John, of Bisshop Norton, husbandman 2
3759616 1944996 1944996 plaintiff Dalle John husbandman 624676 624676 Dalle, John, of Bisshop Norton, husbandman 3
3759617 1944996 1944996 defendant Covell John husbandman 624676 624676 Covell, John, of Bisshop Norton, husbandman 0
3759618 1944996 1944996 defendant Covell William gent 586901 586901 Covell, William, of Nottingham, gent 1
3759619 1944996 1944996 defendant Wolley John yeoman 586901 586901 Wolley, John, of Nottingham, yeoman 2

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