home / cp40x

names

7 rows where case_id = 1970554

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3840374 1970554 1970554 plaintiff Alyen Ralph     Alyen, Ralph 0
3840375 1970554 1970554 defendant Alkyn Thomas chapman 586431 586431 Alkyn, Thomas, of Lychefeld, Staffs, chapman 0
3840376 1970554 1970554 defendant Wylmot John chapman 586318 586318 Wylmot, John, of Worcester, chapman 1
3840377 1970554 1970554 defendant Sheldon Thomas chapman 586318 586318 Sheldon, Thomas, of Worcester, chapman 2
3840378 1970554 1970554 defendant Bell John carrier 638053 638053 Bell, John, of Sherton, Wilts, carrier 3
3840379 1970554 1970554 defendant Gastrell Richard (legal representative) 638070 638070 Gastrell, Richard, of Thetbury, executrix of 4
3840380 1970554 1970554 defendant Gastrell Elizabeth widow 638071 638071 Gastrell, Elizabeth, of Thetbury, Glos, widow 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.014ms