home / cp40x

names

9 rows where case_id = 1982189

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3875877 1982189 1982189 plaintiff Gayer Richard     Gayer, Richard 0
3875878 1982189 1982189 defendant Pascowe Benedict John husbandman 643774 643774 Pascowe, Benedict John, of Vargewe, husbandman 0
3875879 1982189 1982189 defendant Pascowe Thomas John husbandman 643774 643774 Pascowe, Thomas John, of Vargewe, husbandman 1
3875880 1982189 1982189 defendant Dunne Michael husbanbdman 606006 606006 Dunne, Michael, of St Enoder, husbanbdman 2
3875881 1982189 1982189 defendant Adam John husbandman 643775 643775 Adam, John, of Nansley, husbandman 3
3875882 1982189 1982189 defendant Trehar Nicholas laborer 604758 604758 Trehar, Nicholas, of St Ladok, laborer 4
3875883 1982189 1982189 defendant Tresawell Benedict husbandman 643776 643776 Tresawell, Benedict, of Tresawell, husbandman 5
3875884 1982189 1982189 defendant Renoden William laborer 643777 643777 Renoden, William, of Dodwood, laborer 6
3875885 1982189 1982189 defendant Slepe Robert laborer 643778 643778 Slepe, Robert, of Trevowsa, laborer 7

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.614ms