home / cp40x

names

8 rows where case_id = 2305955

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4831752 2305955 2305955 plaintiff Bruyn John esq   Bruyn, John, esq 0
4831753 2305955 2305955 defendant Bate William yeoman 596093 596093 Bate, William, of Drayton in Hales, yeoman 0
4831754 2305955 2305955 defendant Wateres William yeoman 588710 588710 Wateres, William, of Bromfeld, yeoman 1
4831755 2305955 2305955 defendant Persones Alice widow, formerly wife of Thomas Persones, of North Eclesbury   Persones, Alice, widow, formerly wife of Thomas Persones, of North Eclesbury 2
4831756 2305955 2305955 defendant Persons Thomas yeoman 753997 753997 Persons, Thomas, of Munselowe, yeoman 3
4831757 2305955 2305955 defendant Kynton John yeoman 795860 795860 Kynton, John, of Preston Gobald, yeoman 4
4831758 2305955 2305955 defendant Kynton William yeoman 809419 809419 Kynton, William, of Leton, yeoman 5
4831759 2305955 2305955 defendant Dounton John yeoman 622366 622366 Dounton, John, of Bedston, yeoman 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.958ms