home / cp40x

names

6 rows where case_id = 2296462

✎ 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
4800876 2296462 2296462 plaintiff Westeby John esq   Westeby, John, esq 0
4800877 2296462 2296462 defendant Gaude or Gande Thomas (legal representative) 796106 796106 Gaude or Gande, Thomas, of Shapewyk, executrix of 0
4800878 2296462 2296462 defendant Gaude or Gande Alice widow 804014 804014 Gaude or Gande, Alice, of Wynbornmenster, widow 1
4800879 2296462 2296462 defendant Petypase Thomas husbandman 804014 804014 Petypase, Thomas, of Wynbornmenster, husbandman 2
4800880 2296462 2296462 defendant Carter Walter laborer 596482 596482 Carter, Walter, of Legh, laborer 3
4800881 2296462 2296462 defendant Rypon John merchant 804014 804014 Rypon, John, of Wynbornmenster, merchant 4

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