home / cp40x

names

8 rows where case_id = 1912812

✎ 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
3658172 1912812 1912812 plaintiff Edlget Edmund gent 586134 586134 Edlget, Edmund, of Ipswich, gent 0
3658173 1912812 1912812 defendant Lyson John clerk & vicar 598667 598667 Lyson, John, of Bedyngfeld, clerk & vicar 0
3658174 1912812 1912812 defendant Patche John smith 604018 604018 Patche, John, of Colchester, Essex, smith 1
3658175 1912812 1912812 defendant Bond Nicholas smith 604494 604494 Bond, Nicholas, of Stoke by Neylond, smith 2
3658176 1912812 1912812 defendant Willys John husbandman 604494 604494 Willys, John, of Stoke by Neylond, husbandman 3
3658177 1912812 1912812 defendant Morse Robert husbandman 604494 604494 Morse, Robert, of Stoke by Neylond, husbandman 4
3658178 1912812 1912812 defendant Steffe or Stesse John smith 600330 600330 Steffe or Stesse, John, of Nedeham Market, smith 5
3658179 1912812 1912812 defendant Benson Leonard smith 586405 586405 Benson, Leonard, of Nedham Market, smith 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 17.437ms