home / cp40x

names

6 rows where case_id = 2306708

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4834203 2306708 2306708 plaintiff Coseby John, sen   809863 809863 Coseby, John, sen, of Chirton, Devon 0
4834204 2306708 2306708 plaintiff Coseby John jun, of Brykkysham or Brixham, Devon   Coseby, John, jun, of Brykkysham or Brixham, Devon 1
4834205 2306708 2306708 defendant Dogget Robert husbandman 589943 589943 Dogget, Robert, of Rochester, husbandman 0
4834206 2306708 2306708 defendant Schrowysbery Eleanor widow 589943 589943 Schrowysbery, Eleanor, of Rochester, widow 1
4834207 2306708 2306708 defendant Baker William husbandman 809865 809865 Baker, William, of Quenysborgh, husbandman 2
4834208 2306708 2306708 defendant Clyfton John husbandman 589943 589943 Clyfton, John, of Rochester, husbandman 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 6.683ms