home / cp40x

names

8 rows where case_id = 1951831

✎ 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
3781116 1951831 1951831 plaintiff Guybon Thomas esq   Guybon, Thomas, esq 0
3781117 1951831 1951831 plaintiff Brokbanke Christopher   628211 628211 Brokbanke, Christopher, of Lyne 1
3781118 1951831 1951831 defendant Nelson Thomas clothier 599335 599335 Nelson, Thomas, of Ledys, Yorks, clothier 0
3781119 1951831 1951831 defendant Nelson Robert clothier 628212 628212 Nelson, Robert, of Kendall, Yorks, clothier 1
3781120 1951831 1951831 defendant Hardweyk Ralph draper 620810 620810 Hardweyk, Ralph, of Ryppon, Yorks, draper 2
3781121 1951831 1951831 defendant Alcoke John clerk 593778 593778 Alcoke, John, of Ledys, clerk 3
3781122 1951831 1951831 defendant Alcoke Thomas clerk 593778 593778 Alcoke, Thomas, of Ledys, clerk 4
3781123 1951831 1951831 defendant Alcoke Ralph yeoman 593778 593778 Alcoke, Ralph, of Ledys, yeoman 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 16.092ms