home / cp40x

names

9 rows where case_id = 2201757

✎ 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
4503814 2201757 2201757 plaintiff Potyn William clerk   Potyn, William, clerk 0
4503815 2201757 2201757 defendant atte Rede Simon   589581 589581 atte Rede, Simon, of Ryngmere 0
4503816 2201757 2201757 defendant Tak-- John     Tak--, John 1
4503817 2201757 2201757 defendant Mylet John   764183 764183 Mylet, John, of Clyve by Lewes 2
4503818 2201757 2201757 defendant Crostede John   764184 764184 Crostede, John, of Marfeld 3
4503819 2201757 2201757 defendant Molet Richard     Molet, Richard 4
4503820 2201757 2201757 defendant Champeneys John   764185 764185 Champeneys, John, of Hukkefeld 5
4503821 2201757 2201757 defendant Justise Robert     Justise, Robert 6
4503822 2201757 2201757 defendant atte Stone John     atte Stone, John 7

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