home / cp40x

names

6 rows where case_id = 2223823

✎ 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
4575409 2223823 2223823 plaintiff Botheby William     Botheby, William 0
4575410 2223823 2223823 defendant Ryggesby Edmund   589796 589796 Ryggesby, Edmund, of Leek 0
4575411 2223823 2223823 defendant Mannyng William chaplain   Mannyng, William, chaplain 1
4575412 2223823 2223823 defendant Porter John   586286 586286 Porter, John, of Boston 2
4575413 2223823 2223823 defendant Stretton John sometime of Welland, in Boston   Stretton, John, sometime of Welland, in Boston 3
4575414 2223823 2223823 defendant Felowe Robert   586286 586286 Felowe, Robert, of Boston 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 14.411ms