home / cp40x

names

7 rows where case_id = 1933822

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3724102 1933822 1933822 plaintiff Pyne John     Pyne, John 0
3724103 1933822 1933822 defendant Langton Thomas gent 585869 585869 Langton, Thomas, of London, gent 0
3724104 1933822 1933822 defendant Conyor George gent 618346 618346 Conyor, George, of Staunton, Cams, gent 1
3724105 1933822 1933822 defendant Chaplyn Robert (legal representative) 588633 588633 Chaplyn, Robert, of Lyme Regis, merchant, executrix of 2
3724106 1933822 1933822 defendant Chaplyn Margaret widow 618348 618348 Chaplyn, Margaret, of Pydmyster, Soms, widow 3
3724107 1933822 1933822 defendant Palmer Edward gent 585869 585869 Palmer, Edward, of London, gent 4
3724108 1933822 1933822 defendant Umfrey William husbandman 618349 618349 Umfrey, William, of Hynton, Cams, husbandman 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 8.201ms