home / cp40x

names

7 rows where case_id = 1986670

✎ 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
3889350 1986670 1986670 plaintiff Glascok Richard     Glascok, Richard 0
3889351 1986670 1986670 plaintiff Thurgood Geoffrey     Thurgood, Geoffrey 1
3889352 1986670 1986670 defendant Savell William laborer 601405 601405 Savell, William, of Quenden, laborer 0
3889353 1986670 1986670 defendant Glascok John butcher 603924 603924 Glascok, John, of Henham, butcher 1
3889354 1986670 1986670 defendant Spycer John butcher 603924 603924 Spycer, John, of Henham, butcher 2
3889355 1986670 1986670 defendant Page William maltman 646156 646156 Page, William, of Quendon, maltman 3
3889356 1986670 1986670 defendant Nytyngale Stephen tawyer 612368 612368 Nytyngale, Stephen, of Newport Ponde, tawyer 4

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