home / cp40x

names

7 rows where case_id = 2403649

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5158638 2403649 2403649 plaintiff Quatermayns Richard esq   Quatermayns, Richard, esq 0
5158639 2403649 2403649 plaintiff Mauncell Walter esq   Mauncell, Walter, esq 1
5158640 2403649 2403649 plaintiff Bedford Richard     Bedford, Richard 2
5158641 2403649 2403649 plaintiff Foweler Richard     Foweler, Richard 3
5158642 2403649 2403649 defendant Rastwold Thomas esq 597581 597581 Rastwold, Thomas, of la Vache, Bucks, esq 0
5158643 2403649 2403649 defendant Rastwold Thomas gent 851637 851637 Rastwold, Thomas, of Mongewell, Berks, gent 1
5158644 2403649 2403649 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 13.628ms