home / cp40x

names

7 rows where case_id = 2404700

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5162291 2404700 2404700 plaintiff Tudenham Henry esq   Tudenham, Henry, esq 0
5162292 2404700 2404700 plaintiff Palmer Robert     Palmer, Robert 1
5162293 2404700 2404700 defendant Bagotte John clerk 854875 854875 Bagotte, John, of Stutton, Suffolk, clerk 0
5162294 2404700 2404700 defendant Campelle William yeoman 670896 670896 Campelle, William, of Stutton, yeoman 1
5162295 2404700 2404700 defendant Bodde alias Podde Nicholas yeoman 670896 670896 Bodde alias Podde, Nicholas, of Stutton, yeoman 2
5162296 2404700 2404700 defendant Wryght John clerk 823374 823374 Wryght, John, of Combys, Suff, clerk 3
5162297 2404700 2404700 defendant Adgore John yeoman 587726 587726 Adgore, John, of Combys, yeoman 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 15.301ms