home / cp40x

names

6 rows where case_id = 1990787

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3901673 1990787 1990787 plaintiff Crymes John clothworker 585869 585869 Crymes, John, of London, clothworker 0
3901674 1990787 1990787 defendant Page John chapman 627873 627873 Page, John, of Debnam, Suff, chapman 0
3901675 1990787 1990787 defendant Benytt Thomas chapman 648453 648453 Benytt, Thomas, of Harvott, Heref, chapman 1
3901676 1990787 1990787 defendant Phylyps Hugh chapman 648454 648454 Phylyps, Hugh, of Shrewysbury, chapman 2
3901677 1990787 1990787 defendant Dale Thomas chapman 648454 648454 Dale, Thomas, of Shrewysbury, chapman 3
3901678 1990787 1990787 defendant Paynter William chapman 648455 648455 Paynter, William, of Wychorche, Salop, chapman 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 15.929ms