home / cp40x

names

6 rows where case_id = 2317854

✎ 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
4870819 2317854 2317854 plaintiff Markeham John     Markeham, John 0
4870820 2317854 2317854 plaintiff Abbot John     Abbot, John 1
4870821 2317854 2317854 defendant Godsalve Robert husbandman 587207 587207 Godsalve, Robert, of Carleton Scrope, husbandman 0
4870822 2317854 2317854 defendant in the Lane John husbandman 587207 587207 in the Lane, John, of Carleton Scrope, husbandman 1
4870823 2317854 2317854 defendant Spyrlyng John husbandman 587207 587207 Spyrlyng, John, of Carleton Scrope, husbandman 2
4870824 2317854 2317854 defendant Boteler John husbandman 587207 587207 Boteler, John, of Carleton Scrope, 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 8.425ms