home / cp40x

names

7 rows where case_id = 1948652

✎ 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
3771100 1948652 1948652 plaintiff Stevyns John     Stevyns, John 0
3771101 1948652 1948652 defendant Hille William laborer 613174 613174 Hille, William, of Parva Marche, laborer 0
3771102 1948652 1948652 defendant Hille John husbandman 613174 613174 Hille, John, of Parva Marche, husbandman 1
3771103 1948652 1948652 defendant Hille Thomas husbandman 626598 626598 Hille, Thomas, of Monnesley, husbandman 2
3771104 1948652 1948652 defendant Powes William husbandman 599520 599520 Powes, William, of Asperton, husbandman 3
3771105 1948652 1948652 defendant Warker Thomas laborer 587321 587321 Warker, Thomas, of Bosebury, laborer 4
3771106 1948652 1948652 defendant Smyth Richard laborer 626599 626599 Smyth, Richard, of Frome Bishop, laborer 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 13.167ms