home / cp40x

names

4 rows where case_id = 2003738

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3940192 2003738 2003738 plaintiff Smyth Walter   611735 611735 Smyth, Walter, of Sherford, knight 0
3940193 2003738 2003738 defendant Allycok William gent 602963 602963 Allycok, William, of Bylston, Staffs, gent 0
3940194 2003738 2003738 defendant Wylde Roger clerk 656423 656423 Wylde, Roger, of Wolvaye, clerk 1
3940195 2003738 2003738 defendant Johnson Thomas yeoman 656424 656424 Johnson, Thomas, of Wolvaie, yeoman 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 20.177ms