home / cp40x

names

6 rows where case_id = 2277879

✎ 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
4740997 2277879 2277879 plaintiff Bernard John     Bernard, John, on his own account 0
4740998 2277879 2277879 defendant Pykkere William butcher 596298 596298 Pykkere, William, of Beccles, butcher 0
4740999 2277879 2277879 defendant Parys Adam butcher 596298 596298 Parys, Adam, of Beccles, butcher 1
4741000 2277879 2277879 defendant Chevele John weaver 765439 765439 Chevele, John, of Covehythe, weaver 2
4741001 2277879 2277879 defendant Howard John husbandman 589811 589811 Howard, John, of Cratfeld, husbandman 3
4741002 2277879 2277879 defendant Stobbe Thomas yeoman 596298 596298 Stobbe, Thomas, of Beccles, yeoman 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.006ms