home / cp40x

names

5 rows where case_id = 2464196

✎ 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
5363372 2464196 2464196 plaintiff Westerne Richard     Westerne, Richard 0
5363373 2464196 2464196 defendant Clerk John husbandman 589537 589537 Clerk, John, of Banburgh, husbandman 0
5363374 2464196 2464196 defendant Arowesmyth Roger yeoman 585936 585936 Arowesmyth, Roger, of Norwich, yeoman 1
5363375 2464196 2464196 defendant Norwich Christopher gent 586005 586005 Norwich, Christopher, of Upton, gent 2
5363376 2464196 2464196 defendant Brasynhede Peter husbandman 877799 877799 Brasynhede, Peter, of Thurton juxta Loddon, 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.352ms