home / cp40x

names

8 rows where case_id = 2241316

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4633451 2241316 2241316 plaintiff Wathe Ralph clerk   Wathe, Ralph, clerk 0
4633452 2241316 2241316 defendant Drake Simon   655066 655066 Drake, Simon, of Great Lynton 0
4633453 2241316 2241316 defendant Carlton William clerk   Carlton, William, clerk 1
4633454 2241316 2241316 defendant Lord Thomas   756484 756484 Lord, Thomas, of Little Wilburgham 2
4633455 2241316 2241316 defendant Lyster John   588219 588219 Lyster, John, of Swafham 3
4633456 2241316 2241316 defendant Frogge John     Frogge, John 4
4633457 2241316 2241316 defendant Fraunson Henry   776408 776408 Fraunson, Henry, of Multon Trumpour 5
4633458 2241316 2241316 defendant Crowe Robert     Crowe, Robert 6

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