home / cp40x

names

6 rows where case_id = 1868009

✎ 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
3601102 1868009 1868009 plaintiff Akstell Henry draper 585869 585869 Akstell, Henry, of London, draper 0
3601103 1868009 1868009 defendant Smert Thomas yeoman 590401 590401 Smert, Thomas, of Thornebery, Glos, yeoman 0
3601104 1868009 1868009 defendant Taverner William gent 585869 585869 Taverner, William, of London, gent 1
3601105 1868009 1868009 defendant Danyell Alice widow 586031 586031 Danyell, Alice, of Rykmansworth, Herts, widow 2
3601106 1868009 1868009 defendant Berkeley Thomas gent 590402 590402 Berkeley, Thomas, of Wotton, Glos, gent 3
3601107 1868009 1868009 defendant More John clerk 590403 590403 More, John, of Aylesbery, Glos, clerk 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.733ms