home / cp40x

names

7 rows where case_id = 2247001

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4653413 2247001 2247001 plaintiff Bedale John mercer 586067 586067 Bedale, John, of York, mercer 0
4653414 2247001 2247001 defendant Paterdale Robert tailor 617606 617606 Paterdale, Robert, of Midlam, tailor 0
4653415 2247001 2247001 defendant Jakson William salter 593911 593911 Jakson, William, of Penreth, Cumber, salter 1
4653416 2247001 2247001 defendant Warderop William mercer 593911 593911 Warderop, William, of Penreth, mercer 2
4653417 2247001 2247001 defendant Litster Nicholas dyer 586093 586093 Litster, Nicholas, of Selby, dyer 3
4653418 2247001 2247001 defendant Page John mercer 662518 662518 Page, John, of Preston in Holdernes, mercer 4
4653419 2247001 2247001 defendant Killome John mercer 586067 586067 Killome, John, of York, mercer 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 12.816ms