home / cp40x

names

7 rows where case_id = 2376929

✎ 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
5067995 2376929 2376929 plaintiff Payn John   585869 585869 Payn, John, of London 0
5067996 2376929 2376929 defendant Webbe Thomas (legal representative) 593868 593868 Webbe, Thomas, of Pole, Dorset, mariner, executrix of 0
5067997 2376929 2376929 defendant Webbe Joan widow 586259 586259 Webbe, Joan, of Pole, widow 1
5067998 2376929 2376929 defendant Man John (legal representative) 586259 586259 Man, John, of Pole, mariner, executrix of 2
5067999 2376929 2376929 defendant Man Alice widow 586259 586259 Man, Alice, of Pole, widow 3
5068000 2376929 2376929 defendant Foke Henry (legal representative) 611216 611216 Foke, Henry, of Waram, Dorset, merchant, executrix of 4
5068001 2376929 2376929 defendant Foke Alice widow 601048 601048 Foke, Alice, of Waram, 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.202ms