home / cp40x

names

7 rows where case_id = 2250054

✎ 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
4663476 2250054 2250054 plaintiff Gogill John     Gogill, John 0
4663477 2250054 2250054 defendant Hasill Richard tailor 610819 610819 Hasill, Richard, of Blokkesworth, tailor 0
4663478 2250054 2250054 defendant Bukke William fisher 587604 587604 Bukke, William, of Warham, fisher 1
4663479 2250054 2250054 defendant Sherman John sherman 733932 733932 Sherman, John, of Milton Abbas, sherman 2
4663480 2250054 2250054 defendant Hawell John tailor 733932 733932 Hawell, John, of Milton Abbas, tailor 3
4663481 2250054 2250054 defendant Papejay John parson of Owre   Papejay, John, parson of Owre 4
4663482 2250054 2250054 defendant Syvyer John ploughman 608886 608886 Syvyer, John, of Kynggeston, ploughman 5

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