home / cp40x

names

6 rows where case_id = 1945598

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3761461 1945598 1945598 plaintiff Felder William     Felder, William 0
3761462 1945598 1945598 defendant A Bowre John tailor 595482 595482 A Bowre, John, of Hever, tailor 0
3761463 1945598 1945598 defendant Porter Richard husbandman 588673 588673 Porter, Richard, of Sele, husbandman 1
3761464 1945598 1945598 defendant Fynche Robert butcher 589177 589177 Fynche, Robert, of Sutton at Hone, butcher 2
3761465 1945598 1945598 defendant Bollande Roger tailor 613773 613773 Bollande, Roger, of Chepstowe, tailor 3
3761466 1945598 1945598 defendant Berde Thomas butterman 591216 591216 Berde, Thomas, of Westerham, butterman 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 14.309ms