home / cp40x

names

6 rows where case_id = 1991314

✎ 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
3903256 1991314 1991314 plaintiff Fyld John mercer 616084 616084 Fyld, John, of Kings Norton, mercer 0
3903257 1991314 1991314 defendant Bradley John yeoman 599321 599321 Bradley, John, of Bromysgrove, yeoman 0
3903258 1991314 1991314 defendant Jokys Thomas butcher 630100 630100 Jokys, Thomas, of Kynvare, Staffs, butcher 1
3903259 1991314 1991314 defendant Freman Robert weaver 599321 599321 Freman, Robert, of Bromysgrove, weaver 2
3903260 1991314 1991314 defendant Symons Thomas butcher 616084 616084 Symons, Thomas, of Kings Norton, butcher 3
3903261 1991314 1991314 defendant Wood Edward carpenter 616849 616849 Wood, Edward, of Alchurche, carpenter 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 7.895ms