home / cp40x

names

8 rows where case_id = 2148845

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4354605 2148845 2148845 plaintiff Styckland Christopher     Styckland, Christopher 0
4354606 2148845 2148845 defendant Well William, senior husbandman 598589 598589 Well, William, senior, of Yelden, husbandman 0
4354607 2148845 2148845 defendant Wells John husbandman 598589 598589 Wells, John, of Yelden, husbandman 1
4354608 2148845 2148845 defendant Wellm William junior husbandman 598589 598589 Wellm William, junior, of Yelden, husbandman 2
4354609 2148845 2148845 defendant James alias Aspyn Edward, senior husbandman 598589 598589 James alias Aspyn, Edward, senior, of Yelden, husbandman 3
4354610 2148845 2148845 defendant James alias Aspyn Edward, junior husbandman 598589 598589 James alias Aspyn, Edward, junior, of Yelden, husbandman 4
4354611 2148845 2148845 defendant Maxey Hugh husbandman 598589 598589 Maxey, Hugh, of Yelden, husbandman 5
4354612 2148845 2148845 defendant James alias Aspyn Ellen spinster 598589 598589 James alias Aspyn, Ellen, of Yelden, spinster 6

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 15.139ms