home / cp40x

names

5 rows where case_id = 1979714

✎ 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
3868522 1979714 1979714 plaintiff Symondys Ralph gent   Symondys, Ralph, gent 0
3868523 1979714 1979714 defendant Hall John draper 586523 586523 Hall, John, of Cley juxta Mare, draper 0
3868524 1979714 1979714 defendant Adam John innholder 599132 599132 Adam, John, of Brandon Fery, innholder 1
3868525 1979714 1979714 defendant Dobydo William   592344 592344 Dobydo, William, of Holt, shepherd 2
3868526 1979714 1979714 defendant Fenwyk William husbandman 588927 588927 Fenwyk, William, of Hunworth, husbandman 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 13.736ms