home / cp40x

names

5 rows where case_id = 2498808

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5479236 2498808 2498808 plaintiff Bysshop Robert     Bysshop, Robert 0
5479237 2498808 2498808 defendant Rose Robert husbandman 590116 590116 Rose, Robert, of Stratton Streles, husbandman 0
5479238 2498808 2498808 defendant Fylle Robert yeoman 586362 586362 Fylle, Robert, of Bungey, Suff, yeoman 1
5479239 2498808 2498808 defendant Otyr William husbandman 588821 588821 Otyr, William, of Buxton, husbandman 2
5479240 2498808 2498808 defendant Wygnale John   606087 606087 Wygnale, John, of Suffeld, wright 3

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