home / cp40x

names

12 rows where case_id = 2345057

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4960309 2345057 2345057 plaintiff Barre John knight   Barre, John, knight 0
4960310 2345057 2345057 defendant Gogh David husbandman 827648 827648 Gogh, David, of Aleynesmore, husbandman 0
4960311 2345057 2345057 defendant Gogh Philip husbandman 827648 827648 Gogh, Philip, of Aleynesmore, husbandman 1
4960312 2345057 2345057 defendant Ewyn Jenam husbandman 827648 827648 Ewyn, Jenam, of Aleynesmore, husbandman 2
4960313 2345057 2345057 defendant Ewyn Thomas husbandman 827648 827648 Ewyn, Thomas, of Aleynesmore, husbandman 3
4960314 2345057 2345057 defendant Busford William husbandman 827648 827648 Busford, William, of Aleynesmore, husbandman 4
4960315 2345057 2345057 defendant Cole David laborer 827648 827648 Cole, David, of Aleynesmore, laborer 5
4960316 2345057 2345057 defendant Smyth Robert husbandman 827648 827648 Smyth, Robert, of Aleynesmore, husbandman 6
4960317 2345057 2345057 defendant Webbe David husbandman 827648 827648 Webbe, David, of Aleynesmore, husbandman 7
4960318 2345057 2345057 defendant Pygot Philip husbandman 827648 827648 Pygot, Philip, of Aleynesmore, husbandman 8
4960319 2345057 2345057 defendant Ryssh John husbandman 827648 827648 Ryssh, John, of Aleynesmore, husbandman 9
4960320 2345057 2345057 defendant Brugge Robert husbandman 827648 827648 Brugge, Robert, of Aleynesmore, husbandman 10

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