home / cp40x

names

8 rows where case_id = 1871059

✎ 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
3610838 1871059 1871059 plaintiff (not given) Thomas abbot of Chertesey Abbey   Chertesey Abbey, Thomas, abbot of 0
3610839 1871059 1871059 defendant Carter John sawyer 593187 593187 Carter, John, of Asshestede, sawyer 0
3610840 1871059 1871059 defendant Kegowe John husbandman 593187 593187 Kegowe, John, of Asshestede, husbandman 1
3610841 1871059 1871059 defendant Rolf Nicholas husbandman 593187 593187 Rolf, Nicholas, of Asshestede, husbandman 2
3610842 1871059 1871059 defendant Constabull William husbandman 593187 593187 Constabull, William, of Asshestede, husbandman 3
3610843 1871059 1871059 defendant Becher John laborer 593187 593187 Becher, John, of Asshestede, laborer 4
3610844 1871059 1871059 defendant Byrt John husbandman 593187 593187 Byrt, John, of Asshestede, husbandman 5
3610845 1871059 1871059 defendant A Burne John laborer 593187 593187 A Burne, John, of Asshestede, laborer 6

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