home / cp40x

names

6 rows where case_id = 1961319

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3810926 1961319 1961319 plaintiff Busshopp Richard     Busshopp, Richard 0
3810927 1961319 1961319 defendant Mountague Edward esq 601980 601980 Mountague, Edward, of Hemyngton, esq 0
3810928 1961319 1961319 defendant Hardyng Nicholas esq 633134 633134 Hardyng, Nicholas, of Noryell, Beds, esq 1
3810929 1961319 1961319 defendant Dudley William gent 589052 589052 Dudley, William, of Clopton, gent 2
3810930 1961319 1961319 defendant Dudley Robert gent 589052 589052 Dudley, Robert, of Clopton, gent 3
3810931 1961319 1961319 defendant Stokys William clerk 633135 633135 Stokys, William, of Thyendon, clerk 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 16.388ms