home / cp40x

names

7 rows where case_id = 2282600

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4757119 2282600 2282600 plaintiff Bonevyll William formerly sheriff   Bonevyll, William, formerly sheriff 0
4757120 2282600 2282600 defendant Forde Jocus   591749 591749 Forde, Jocus, of South Molton 0
4757121 2282600 2282600 defendant Berehed David   588701 588701 Berehed, David, of North Taunton 1
4757122 2282600 2282600 defendant Drayton Geoffrdy   611420 611420 Drayton, Geoffrdy, of Wytherygge 2
4757123 2282600 2282600 defendant Cok Richard   600204 600204 Cok, Richard, of Holberton 3
4757124 2282600 2282600 defendant Mathon William   642361 642361 Mathon, William, of Tiverton 4
4757125 2282600 2282600 defendant Spirway William   642361 642361 Spirway, William, of Tiverton 5

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