home / cp40x

names

7 rows where case_id = 2397604

✎ 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
5137920 2397604 2397604 plaintiff Quatermayns Richard esq   Quatermayns, Richard, esq 0
5137921 2397604 2397604 plaintiff Mauntell Walter esq   Mauntell, Walter, esq 1
5137922 2397604 2397604 plaintiff Bedford Richard     Bedford, Richard 2
5137923 2397604 2397604 plaintiff Foweler Richard     Foweler, Richard 3
5137924 2397604 2397604 defendant Rastwold Thomas esq 597581 597581 Rastwold, Thomas, of la Vache, Bucks, esq 0
5137925 2397604 2397604 defendant (illegible) Thomas gent 851637 851637 ---, Thomas, of Mongewell, Berks, gent 1
5137926 2397604 2397604 defendant Lychefeld John chaplain 588338 588338 Lychefeld, John, of Walyngford, Berks, chaplain 2

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 18.037ms