home / cp40x

names

5 rows where case_id = 2090084

✎ 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
4184488 2090084 2090084 plaintiff Sancti John     Sancti , John 0
4184489 2090084 2090084 defendant Gotobede John husbandman 710610 710610 Gotobede, John, of Streatham, Isle of Ely, husbandman 0
4184490 2090084 2090084 defendant Gore Elizabeth widow 677899 677899 Gore, Elizabeth, of Streatham, widow 1
4184491 2090084 2090084 defendant Gotobed William husbandman 610637 610637 Gotobed, William, of Waterbeche, husbandman 2
4184492 2090084 2090084 defendant Charke Christopher husbandman 710611 710611 Charke, Christopher, of Wodditton, 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 18.265ms