home / cp40x

names

8 rows where case_id = 1933209

✎ 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
3722220 1933209 1933209 plaintiff Martyn Robert     Martyn, Robert 0
3722221 1933209 1933209 defendant Studde William laborer 592146 592146 Studde, William, of Nedham, laborer 0
3722222 1933209 1933209 defendant Studde Richard cooper 586405 586405 Studde, Richard, of Nedham Market, cooper 1
3722223 1933209 1933209 defendant Rowght Richard tailor 586405 586405 Rowght, Richard, of Nedham Market, tailor 2
3722224 1933209 1933209 defendant Tropnell William butcher 585947 585947 Tropnell, William, of Hadley, butcher 3
3722225 1933209 1933209 defendant Boram Ralph butcher 585947 585947 Boram, Ralph, of Hadley, butcher 4
3722226 1933209 1933209 defendant Good Robert (legal representative)   Good, Robert, executors of 5
3722227 1933209 1933209 defendant Chamberleyn John husbandman   (Chamberleyn, John, husbandman 6

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.086ms