home / cp40x

names

6 rows where case_id = 2337011

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4933985 2337011 2337011 plaintiff Andrewe Henry     Andrewe, Henry 0
4933986 2337011 2337011 defendant Busgar John husbandman 591328 591328 Busgar, John, of Pakefeld, husbandman 0
4933987 2337011 2337011 defendant Heg John laborer 588645 588645 Heg, John, of Clare, laborer 1
4933988 2337011 2337011 defendant Taillour Robert tailor 585933 585933 Taillour, Robert, of Great Yarmouth, tailor 2
4933989 2337011 2337011 defendant Oldryg John husbandman 585934 585934 Oldryg, John, of Becclys, husbandman 3
4933990 2337011 2337011 defendant Mason Richard husbandman 591328 591328 Mason, Richard, of Pakefeld, husbandman 4

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