home / cp40x

names

6 rows where case_id = 2345907

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4963218 2345907 2345907 plaintiff Bysle John     Bysle, John 0
4963219 2345907 2345907 defendant Pyken John tanner 603088 603088 Pyken, John, of Leskerd, tanner 0
4963220 2345907 2345907 defendant Helyer Alan tanner 603088 603088 Helyer, Alan, of Leskerd, tanner 1
4963221 2345907 2345907 defendant Berball John tanner 603088 603088 Berball, John, of Leskerd, tanner 2
4963222 2345907 2345907 defendant Achym Simon   828002 828002 Achym, Simon, of Leskyrret 3
4963223 2345907 2345907 defendant Philip William tanner 828002 828002 Philip, William, of Leskyrret, tanner 4

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