home / cp40x

names

7 rows where case_id = 2256752

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4671561 2256752 2256752 plaintiff Cerff William     Cerff, William, on his own account 0
4671562 2256752 2256752 defendant Welby Geoffrey yeoman 759839 759839 Welby, Geoffrey, of Whappelode, yeoman 0
4671563 2256752 2256752 defendant Thonrwark John   781175 781175 Thonrwark, John, of Leek, deacon 1
4671564 2256752 2256752 defendant Grenewode Robert gent 586067 586067 Grenewode, Robert, of York, gent 2
4671565 2256752 2256752 defendant Berege Richard herdsman 594426 594426 Berege, Richard, of Benyngton, herdsman 3
4671566 2256752 2256752 defendant Mone or Move John hurdsman 597495 597495 Mone or Move, John, of Butterwyke, hurdsman 4
4671567 2256752 2256752 defendant Dobyn John husbandman 587058 587058 Dobyn, John, of Sutton, husbandman 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 14.444ms