home / cp40x

names

6 rows where case_id = 2284184

✎ 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
4762280 2284184 2284184 plaintiff fitz Hugh Henry knight   fitz Hugh, Henry, knight 0
4762281 2284184 2284184 plaintiff Babthorp Robert knight   Babthorp, Robert, knight 1
4762282 2284184 2284184 plaintiff Wodehous John     Wodehous, John 2
4762283 2284184 2284184 defendant Watkynson William husbandman 608894 608894 Watkynson, William, of Allerton, husbandman 0
4762284 2284184 2284184 defendant Freman Henry husbandman 608894 608894 Freman, Henry, of Allerton, husbandman 1
4762285 2284184 2284184 defendant Pek John husbandman 757829 757829 Pek, John, of Tykhull, husbandman 2

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