home / cp40x

names

7 rows where case_id = 2185645

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4452103 2185645 2185645 plaintiff Illar John     Illar, John 0
4452104 2185645 2185645 defendant Gynnowe Nicholas   758191 758191 Gynnowe, Nicholas, of Naunelyn 0
4452105 2185645 2185645 defendant Gynnowe John     Gynnowe, John 1
4452106 2185645 2185645 defendant Bynnowe Thomas     Bynnowe, Thomas 2
4452107 2185645 2185645 defendant Gay Walter   758192 758192 Gay, Walter, of Trevant 3
4452108 2185645 2185645 defendant (not given) Hugh his son   Hugh, his son 4
4452109 2185645 2185645 defendant Bele John   758193 758193 Bele, John, of Lansn 5

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