home / cp40x

names

7 rows where case_id = 2021814

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3991781 2021814 2021814 plaintiff Brooke Thomas attorney of the bench   Brooke, Thomas, attorney of the bench 0
3991782 2021814 2021814 defendant Camberleyn Christopher gent 588760 588760 Camberleyn, Christopher, of Dertford, gent 0
3991783 2021814 2021814 defendant Oldfeld John merchant 586009 586009 Oldfeld, John, of Feversham, merchant 1
3991784 2021814 2021814 defendant Bennett William yeoman 669094 669094 Bennett, William, of West Mawlinge, yeoman 2
3991785 2021814 2021814 defendant Astyn Anne widow 590125 590125 Astyn, Anne, of Est Farley, widow 3
3991786 2021814 2021814 defendant Saunders Nicholas yeoman 669095 669095 Saunders, Nicholas, of Est Mawlynge, yeoman 4
3991787 2021814 2021814 defendant Barrowe Arnold gent 586175 586175 Barrowe, Arnold, of Canterbury, gent 5

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