home / cp40x

names

6 rows where case_id = 2445520

✎ 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
5301894 2445520 2445520 plaintiff Drake Richard (legal representative) 625399 625399 Drake, Richard, of Worthyng, husbandman, executor of 0
5301895 2445520 2445520 plaintiff Drake Thomas     Drake, Thomas 1
5301896 2445520 2445520 defendant Couper Thomas husbandman 587172 587172 Couper, Thomas, of East Derham, husbandman 0
5301897 2445520 2445520 defendant Deen Henry clerk 590966 590966 Deen, Henry, of Byntre, clerk 1
5301898 2445520 2445520 defendant Ruste Simon husbandman 586882 586882 Ruste, Simon, of Betele, husbandman 2
5301899 2445520 2445520 defendant Broun (illegible)   588926 588926 Broun, _, of North Elmham, wax chandler 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 20.74ms