home / cp40x

names

7 rows where case_id = 2020744

✎ 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
3988808 2020744 2020744 plaintiff Aunsell John (legal representative) 590255 590255 Aunsell, John, of Est Ryston, executors of 0
3988809 2020744 2020744 plaintiff Warner John     (Warner, John 1
3988810 2020744 2020744 plaintiff Warner Katherine widow of testator   Katherine his wife, widow of testator 2
3988811 2020744 2020744 defendant Parker Richard yeoman 587203 587203 Parker, Richard, of Wychyngham, or of Old Buckenham, yeoman 0
3988812 2020744 2020744 defendant Murrell Andrew cooper 663200 663200 Murrell, Andrew, of Old Buckenham, cooper 1
3988813 2020744 2020744 defendant Amys Richard husbandman 663200 663200 Amys, Richard, of Old Buckenham, husbandman 2
3988814 2020744 2020744 defendant Goddyng John yeoman 668366 668366 Goddyng, John, of Woodebastwick, yeoman 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 14.559ms