home / cp40x

names

8 rows where case_id = 2208296

✎ 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
4525455 2208296 2208296 plaintiff James William   766188 766188 James, William, of East Cary 0
4525456 2208296 2208296 defendant Geffray Thomas   705071 705071 Geffray, Thomas, of Homer 0
4525457 2208296 2208296 defendant Bigge Alan   757291 757291 Bigge, Alan, of Milburn 1
4525458 2208296 2208296 defendant Dyer Richard   606446 606446 Dyer, Richard, of Northover 2
4525459 2208296 2208296 defendant Heyward Robert   766189 766189 Heyward, Robert, of Babecary 3
4525460 2208296 2208296 defendant Cole William   757185 757185 Cole, William, of Yevelchestre 4
4525461 2208296 2208296 defendant Okeford William     Okeford, William 5
4525462 2208296 2208296 defendant Godfrey William   613590 613590 Godfrey, William, of Shereburn 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.789ms