home / cp40x

names

6 rows where case_id = 1902952

✎ 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
3625890 1902952 1902952 plaintiff Abryge Thomas     Abryge, Thomas 0
3625891 1902952 1902952 plaintiff Morys John     Morys, John 1
3625892 1902952 1902952 defendant Chapman Philip mercer 586392 586392 Chapman, Philip, of Leomynster, mercer 0
3625893 1902952 1902952 defendant Haloward Hugh husbandman 586392 586392 Haloward, Hugh, of Leomynster, husbandman 1
3625894 1902952 1902952 defendant Sadeler Robert saddler 586392 586392 Sadeler, Robert, of Leomynster, saddler 2
3625895 1902952 1902952 defendant Bradwell John hosier 586392 586392 Bradwell, John, of Leomynster, hosier 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 15.534ms