home / cp40x

names

8 rows where case_id = 2283285

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4759406 2283285 2283285 plaintiff Childres John     Childres, John 0
4759407 2283285 2283285 defendant Crosselegh Robert, sen yeoman 603641 603641 Crosselegh, Robert, sen, of Langfeld, yeoman 0
4759408 2283285 2283285 defendant Crosselegh Robert jun, of Langfeld, laborer   Crosselegh, Robert, jun, of Langfeld, laborer 1
4759409 2283285 2283285 defendant Best Joan   603641 603641 Best, Joan, of Langfeld, servant 2
4759410 2283285 2283285 defendant Diconson William laborer 798002 798002 Diconson, William, of Horsfall of Mankenholl, laborer 3
4759411 2283285 2283285 defendant atte Lawe William husbandman 798003 798003 atte Lawe, William, of Mankenholl, husbandman 4
4759412 2283285 2283285 defendant Litster William yeoman 600094 600094 together with Litster, William, of Halifax, yeoman 5
4759413 2283285 2283285 defendant Crodhare Nicholas husbandman 600094 600094 Crodhare, Nicholas, of Halifax, husbandman 6

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.969ms