home / cp40x

names

6 rows where case_id = 1947163

✎ 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
3766443 1947163 1947163 plaintiff Marsham Elizabeth widow   Marsham, Elizabeth, widow 0
3766444 1947163 1947163 defendant Pytlyng John miller 587672 587672 Pytlyng, John, of Horsted, miller 0
3766445 1947163 1947163 defendant Pytlyng Robert miller 625795 625795 Pytlyng, Robert, of Lammas, miller 1
3766446 1947163 1947163 defendant Popyll Richard miller 587203 587203 Popyll, Richard, of Wychyngham, miller 2
3766447 1947163 1947163 defendant Becham John husbandman 587203 587203 Becham, John, of Wychyngham, husbandman 3
3766448 1947163 1947163 defendant Wright Richard miller 591106 591106 Wright, Richard, of Depeham, miller 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 16.13ms