home / cp40x

names

6 rows where case_id = 1958426

✎ 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
3801693 1958426 1958426 plaintiff Munde Roger     Munde, Roger 0
3801694 1958426 1958426 defendant Reynoldys Thomas carpenter 619861 619861 Reynoldys, Thomas, of Bayton, carpenter 0
3801695 1958426 1958426 defendant Smyth Thomas cordwainer 591688 591688 Smyth, Thomas, of Parshore, cordwainer 1
3801696 1958426 1958426 defendant Engyll Henry husbandman 624622 624622 Engyll, Henry, of Pensax, husbandman 2
3801697 1958426 1958426 defendant Hoggys John tanner 599321 599321 Hoggys, John, of Bromysgrove, tanner 3
3801698 1958426 1958426 defendant Lawghton John husbandman 598603 598603 Lawghton, John, of Hanley Castell, 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 19.567ms