home / cp40x

names

6 rows where case_id = 2333756

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4923429 2333756 2333756 plaintiff May John     May, John 0
4923430 2333756 2333756 defendant Pers Thomas husbandman 772207 772207 Pers, Thomas, of Cleye next the sea, husbandman 0
4923431 2333756 2333756 defendant Brych John husbandman 589705 589705 Brych, John, of Hyndryngham, husbandman 1
4923432 2333756 2333756 defendant Estlyng John husbandman 589705 589705 Estlyng, John, of Hyndryngham, husbandman 2
4923433 2333756 2333756 defendant Silke Henry husbandman 640425 640425 Silke, Henry, of Holkeham, husbandman 3
4923434 2333756 2333756 defendant Smyth James husbandman 589705 589705 Smyth, James, of Hyndryngham, 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 7.704ms