home / cp40x

names

5 rows where case_id = 2035429

✎ 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
4030149 2035429 2035429 plaintiff Drowry Edward yeoman 678169 678169 Drowry, Edward, of Wetherset, yeoman 0
4030150 2035429 2035429 defendant Hasell Henry tailor 619296 619296 Hasell, Henry, of Bliburgh, or of Holme Hale, Norf, tailor 0
4030151 2035429 2035429 defendant Fylde Thomas husbandman 678171 678171 Fylde, Thomas, of Braser, husbandman 1
4030152 2035429 2035429 defendant Osbern Joan widow 589511 589511 Osbern, Joan, of Saxmondham, widow 2
4030153 2035429 2035429 defendant Borrett John husbandman 603130 603130 Borrett, John, of Hallysworth, husbandman 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 15.858ms