home / cp40x

names

5 rows where case_id = 1929522

✎ 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
3710250 1929522 1929522 plaintiff Scragge John leather seller 604617 604617 Scragge, John, of Southwark, leather seller 0
3710251 1929522 1929522 defendant Davy Stephen butcher 594979 594979 Davy, Stephen, of Gravesend, Kent, butcher 0
3710252 1929522 1929522 defendant Champnes John butcher 608839 608839 Champnes, John, of Est Grenewich, Kent, butcher 1
3710253 1929522 1929522 defendant Tommes Lewis butcher 601128 601128 Tommes, Lewis, of Hokeley, Beds, butcher 2
3710254 1929522 1929522 defendant Tommes John, senior yeoman 615694 615694 Tommes, John, senior, of Layton Bosard, Beds, 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 18.681ms