home / cp40x

names

7 rows where case_id = 2500706

✎ 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
5486018 2500706 2500706 plaintiff Richard Richard     Richard, Richard 0
5486019 2500706 2500706 plaintiff Holewyll John     Holewyll, John 1
5486020 2500706 2500706 plaintiff Yendecote John     Yendecote, John 2
5486021 2500706 2500706 defendant Colbroke Walter gent 598601 598601 Colbroke, Walter, of Columpton, gent 0
5486022 2500706 2500706 defendant Revell or Renell Thomas husbandman 615250 615250 Revell or Renell, Thomas, of Taleton, husbandman 1
5486023 2500706 2500706 defendant Revell or Renell Henry laborer 615250 615250 Revell or Renell, Henry, of Taleton, laborer 2
5486024 2500706 2500706 defendant Beare John husbandman 631205 631205 Beare, John, of Poltemore, 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.01ms