home / cp40x

names

6 rows where case_id = 2304140

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4825922 2304140 2304140 plaintiff Waleys John     Waleys, John, on his own account 0
4825923 2304140 2304140 defendant Hampton Philip esq 761336 761336 Hampton, Philip, of East Harpetre, esq 0
4825924 2304140 2304140 defendant Bythemore William gent 808416 808416 Bythemore, William, of Nailisse, gent 1
4825925 2304140 2304140 defendant Arthure John esq 589052 589052 Arthure, John, of Clopton, esq 2
4825926 2304140 2304140 defendant Bate Thomas husbandman 759704 759704 Bate, Thomas, of Glastyngbury, husbandman 3
4825927 2304140 2304140 defendant Bygge John tailor 598849 598849 Bygge, John, of Wellis, tailor 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 7.44ms