home / cp40x

names

6 rows where case_id = 1933688

✎ 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
3723697 1933688 1933688 plaintiff Pery Edward     Pery, Edward 0
3723698 1933688 1933688 defendant Adam Thomas yeoman 589943 589943 Adam, Thomas, of Rochester, yeoman 0
3723699 1933688 1933688 defendant Percyvall Thomas miller 589522 589522 Percyvall, Thomas, of Clyff, miller 1
3723700 1933688 1933688 defendant Lorkyn Thomas waterman 593979 593979 Lorkyn, Thomas, of Frendesbury, waterman 2
3723701 1933688 1933688 defendant Robynson John miller 589522 589522 Robynson, John, of Clyff, miller 3
3723702 1933688 1933688 defendant Coke John hakneyman 589943 589943 Coke, John, of Rochester, hakneyman 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.402ms