home / cp40x

names

6 rows where case_id = 2061462

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4103299 2061462 2061462 plaintiff Marden John     Marden, John 0
4103300 2061462 2061462 defendant Graye William esq 585869 585869 Graye, William, of London, or of Waddon, Bucks, esq 0
4103301 2061462 2061462 defendant Cheny Thomas esq 656973 656973 Cheny, Thomas, of Woodhey, Berks, esq 1
4103302 2061462 2061462 defendant Gryffyn Robert yeoman 694169 694169 Gryffyn, Robert, of Woodhey, yeoman 2
4103303 2061462 2061462 defendant Huntley Henry merchant tailor 585869 585869 Huntley, Henry, of London, yeoman, merchant tailor 3
4103304 2061462 2061462 defendant (not given) Edward vicar of Yonge 585869 585869 Yonge, Edward, of London, or of Stratton Audley, Oxon, clerk, vicar of Calerfeld, Bucks 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 9.994ms