home / cp40x

names

8 rows where case_id = 2004006

✎ 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
3941033 2004006 2004006 plaintiff Taylor Richard     Taylor, Richard 0
3941034 2004006 2004006 defendant Pettys Richard yeoman 608984 608984 Pettys, Richard, of Ilmyngton, senior, yeoman 0
3941035 2004006 2004006 defendant Pettys Nicholas husbandman 608984 608984 Pettys, Nicholas, of Ilmyngton, husbandman 1
3941036 2004006 2004006 defendant Colman Robert husbandman 608984 608984 Colman, Robert, of Ilmyngton, husbandman 2
3941037 2004006 2004006 defendant Johnson Thomas husbandman 608984 608984 Johnson, Thomas, of Ilmyngton, husbandman 3
3941038 2004006 2004006 defendant ap Yeo John tailor 656617 656617 ap Yeo, John, of Shippeston upon Stoure, Worcs, tailor 4
3941039 2004006 2004006 defendant Colman Henry   820976 820976 Colman, Henry, of Shipston on Stour, shoe maker 5
3941040 2004006 2004006 defendant Nykelston Thomas if Ilmyngton, laborer   Nykelston, Thomas, if Ilmyngton, laborer 6

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