home / cp40x

names

6 rows where case_id = 2516432

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5538193 2516432 2516432 plaintiff Dowene John     Dowene, John 0
5538194 2516432 2516432 defendant Bocher Hugh husbandman 897705 897705 Bocher, Hugh, of Brodehambury, Devon, husbandman 0
5538195 2516432 2516432 defendant Gode Thomas husbandman 590525 590525 Gode, Thomas, of North Pederton, husbandman 1
5538196 2516432 2516432 defendant Crosse John husbandman 897706 897706 Crosse, John, of Vynyton, Devon, husbandman 2
5538197 2516432 2516432 defendant Lovelas John husbandman 897707 897707 Lovelas, John, of Maydenbroke, Cheddon, husbandman 3
5538198 2516432 2516432 defendant Kyng John husbandman 588710 588710 Kyng, John, of bromfeld, husbandman 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 12.526ms