home / cp40x

names

6 rows where case_id = 2262443

✎ 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
4690062 2262443 2262443 plaintiff Wathe Ralph clerk   Wathe, Ralph, clerk, on his own account 0
4690063 2262443 2262443 defendant Therlowe John husbandman 756995 756995 Therlowe, John, of Haukeston, husbandman 0
4690064 2262443 2262443 defendant Aleyn John   756995 756995 Aleyn, John, of Haukeston 1
4690065 2262443 2262443 defendant Casse John   785035 785035 Casse, John, of Brenkle, wright 2
4690066 2262443 2262443 defendant Kelle Nicholas woolman 617009 617009 Kelle, Nicholas, of Yarmouth, Norf, woolman 3
4690067 2262443 2262443 defendant Heldere John tailor 782815 782815 Heldere, John, of Neweport, Essex, tailor 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 15.232ms