home / cp40x

names

6 rows where case_id = 1872886

✎ 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
3616807 1872886 1872886 plaintiff Elmes Walter, senior     Elmes, Walter, senior 0
3616808 1872886 1872886 defendant Streteley Thomas gent 594606 594606 Streteley, Thomas, of Whitfeld, gent 0
3616809 1872886 1872886 defendant Lucye Thomas husbandman 594607 594607 Lucye, Thomas, of Towrsey, husbandman 1
3616810 1872886 1872886 defendant Wittonstall Oliver gent 594608 594608 Wittonstall, Oliver, of Yaverlond, Isle of Wight, Hants, gent 2
3616811 1872886 1872886 defendant Wheler Richard husbandman 594609 594609 Wheler, Richard, of Draycote, husbandman 3
3616812 1872886 1872886 defendant Whaddysley John brewer 585869 585869 Whaddysley, John, of London, brewer 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 14.671ms