home / cp40x

names

9 rows where case_id = 2469092

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5379204 2469092 2469092 plaintiff Wileley Thomas     Wileley, Thomas 0
5379205 2469092 2469092 defendant Wikeley John   611336 611336 Wikeley, John, of Clynt 0
5379206 2469092 2469092 defendant Wikeley William   611336 611336 Wikeley, William, of Clynt 1
5379207 2469092 2469092 defendant Farbarn William   808182 808182 Farbarn, William, of Raudon 2
5379208 2469092 2469092 defendant Scales Robert   808182 808182 Scales, Robert, of Raudon 3
5379209 2469092 2469092 defendant Couper Thomas   808182 808182 Couper, Thomas, of Raudon 4
5379210 2469092 2469092 defendant Dene Thomas   808182 808182 Dene, Thomas, of Raudon 5
5379211 2469092 2469092 defendant Ingilsant Thomas   611336 611336 Ingilsant, Thomas, of Clynt 6
5379212 2469092 2469092 defendant Riche John   611336 611336 Riche, John, of Clynt 7

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.98ms