home / cp40x

names

6 rows where case_id = 2534135

✎ 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
5597554 2534135 2534135 plaintiff Cushyn Edward     Cushyn, Edward 0
5597555 2534135 2534135 defendant Westerffeld John merchant 585907 585907 Westerffeld, John, of Bishops Lenn, merchant 0
5597556 2534135 2534135 defendant Whyte Roger courser 605374 605374 Whyte, Roger, of Brynton, courser 1
5597557 2534135 2534135 defendant Selwyn Richard gent 591456 591456 Selwyn, Richard, of Feltwell, gent 2
5597558 2534135 2534135 defendant Sapcote Henry glover 609741 609741 Sapcote, Henry, of Berton Bendyshe, glover 3
5597559 2534135 2534135 defendant Newers Edmund gent 585869 585869 Newers, Edmund, of London, gent 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 13.549ms