home / cp40x

names

7 rows where case_id = 1926693

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3701429 1926693 1926693 plaintiff Branstell Christopher     Branstell, Christopher 0
3701430 1926693 1926693 plaintiff Frank Robert     Frank, Robert 1
3701431 1926693 1926693 plaintiff Mannyng Robert     Mannyng, Robert 2
3701432 1926693 1926693 defendant Botiller Richard husbandman 614009 614009 Botiller, Richard, of Stowbrig, husbandman 0
3701433 1926693 1926693 defendant Jakson John husbandman 594613 594613 Jakson, John, of Wygnale, husbandman 1
3701434 1926693 1926693 defendant Elward John husbandman 614010 614010 Elward, John, of Bilney, husbandman 2
3701435 1926693 1926693 defendant Keyode William husbandman 589999 589999 Keyode, William, of Lenn St Peter, husbandman 3

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.888ms