home / cp40x

names

5 rows where case_id = 2386495

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5100183 2386495 2386495 plaintiff Wylshe John     Wylshe, John 0
5100184 2386495 2386495 defendant Mathewe John   615298 615298 Mathewe, John, of Kyngesbrygge, Devon, butche 0
5100185 2386495 2386495 defendant Hede John butcher 846356 846356 Hede, John, of Ailleston, Devon, butcher 1
5100186 2386495 2386495 defendant Lopthorn Richard husbandman 846357 846357 Lopthorn, Richard, of Wytlokesworthy, Devon, husbandman 2
5100187 2386495 2386495 defendant Colyn William husbandman 846358 846358 Colyn, William, of South Prall, Devon, husbandman 3

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 15.273ms