home / cp40x

names

6 rows where case_id = 2438170

✎ 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
5276413 2438170 2438170 plaintiff Warham Thomas carpenter 585869 585869 Warham, Thomas, of London, carpenter 0
5276414 2438170 2438170 defendant Umfrey John husbandman 590987 590987 Umfrey, John, of Lyngefeld, husbandman 0
5276415 2438170 2438170 defendant Harlyng John yeoman 867603 867603 Harlyng, John, of Cro--, yeoman 1
5276416 2438170 2438170 defendant Andrewe John   586487 586487 Andrewe, John, of Suthwerk 2
5276417 2438170 2438170 defendant Wesell Osmund brewer 586487 586487 Wesell, Osmund, of Suthwerk, brewer 3
5276418 2438170 2438170 defendant Wyg William laborer 586464 586464 Wyg, William, of Croydon, laborer 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 16.741ms