home / cp40x

names

6 rows where case_id = 1871277

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3611531 1871277 1871277 plaintiff Mohun John esq   Mohun, John, esq 0
3611532 1871277 1871277 defendant Chynals William, senior gent 593372 593372 Chynals, William, senior, of Chynals Currant, gent 0
3611533 1871277 1871277 defendant Chynals William, junior gent 593372 593372 Chynals, William, junior, of Chynals Currant, gent 1
3611534 1871277 1871277 defendant Chynals Robert gent 593372 593372 Chynals, Robert, of Chynals Currant, gent 2
3611535 1871277 1871277 defendant Wolcok Roger husbandman 593373 593373 Wolcok, Roger, of Trevelyn, husbandman 3
3611536 1871277 1871277 defendant Laupen or Lanpen Richard gent 593374 593374 Laupen or Lanpen, Richard, of Trelysek Elbert, 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 10.959ms