home / cp40x

names

8 rows where case_id = 2332507

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4919166 2332507 2332507 plaintiff Herryson Thomas     Herryson, Thomas, on his own account 0
4919167 2332507 2332507 defendant Gymer Gregory husbandman 601931 601931 Gymer, Gregory, of Sutton in Holand, husbandman 0
4919168 2332507 2332507 defendant Gime John husbandman 601931 601931 Gime, John, of Sutton in Holand, husbandman 1
4919169 2332507 2332507 defendant Rede John husbandman 587058 587058 Rede, John, of Sutton, husbandman 2
4919170 2332507 2332507 defendant Gosselyn John husbandman 587058 587058 Gosselyn, John, of Sutton, husbandman 3
4919171 2332507 2332507 defendant Fennedyk John husbandman 587058 587058 Fennedyk, John, of Sutton, husbandman 4
4919172 2332507 2332507 defendant Qweteratte Thomas husbandman 791240 791240 Qweteratte, Thomas, of Tydde St giles, Cambs, husbandman 5
4919173 2332507 2332507 defendant Haltoft William laborer 595953 595953 Haltoft, William, of Whaplode, laborer 6

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 16.754ms