home / cp40x

names

7 rows where case_id = 1909358

✎ 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
3646650 1909358 1909358 plaintiff Jakson Peter     Jakson, Peter 0
3646651 1909358 1909358 plaintiff Beryll John     Beryll, John 1
3646652 1909358 1909358 plaintiff Wright Robert     Wright, Robert 2
3646653 1909358 1909358 defendant Beryall Robert husbandman 601711 601711 Beryall, Robert, of Thorneton, husbandman 0
3646654 1909358 1909358 defendant Nele Thomas, senior husbandman 601711 601711 Nele, Thomas, senior, of Thorneton, husbandman 1
3646655 1909358 1909358 defendant Doughty Henry husbandman 601711 601711 Doughty, Henry, of Thorneton, husbandman 2
3646656 1909358 1909358 defendant Tolle Thomas husbandman 601711 601711 Tolle, Thomas, of Thorneton, 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 13.689ms