home / cp40x

names

7 rows where case_id = 2366026

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5031347 2366026 2366026 plaintiff Pyttes Thomas esq   Pyttes, Thomas, esq 0
5031348 2366026 2366026 defendant Bull Thomas clerk 656472 656472 Bull, Thomas, of Temmesford, Beds, clerk 0
5031349 2366026 2366026 defendant Gate Thomas husbandman 638773 638773 Gate, Thomas, of Temmesford, husbandman 1
5031350 2366026 2366026 defendant Bull William husbandman 638773 638773 Bull, William, of Temmesford, husbandman 2
5031351 2366026 2366026 defendant Hall John husbandman 638773 638773 Hall, John, of Temmesford, husbandman 3
5031352 2366026 2366026 defendant Skeg Simon husbandman 638773 638773 Skeg, Simon, of Temmesford, husbandman 4
5031353 2366026 2366026 defendant Couper William husbandman 638773 638773 Couper, William, of Temmesford, husbandman 5

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 17.953ms