home / cp40x

names

5 rows where case_id = 2316170

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4865486 2316170 2316170 plaintiff Gilmyn John skinner 585869 585869 Gilmyn, John, of London, skinner 0
4865487 2316170 2316170 defendant Walkstede Richard   645602 645602 Walkstede, Richard, of Tewe, knight 0
4865488 2316170 2316170 defendant Everard Thomas husbandman 814651 814651 Everard, Thomas, of Streteham, Isle of Ely, Cams, husbandman 1
4865489 2316170 2316170 defendant Everard John husbandman 814652 814652 Everard, John, of Streteham, Isle of Ely, husbandman 2
4865490 2316170 2316170 defendant Marshall John husbandman 586528 586528 Marshall, John, of Ware, Herts, 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 25.972ms