home / cp40x

names

6 rows where case_id = 2499333

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5481216 2499333 2499333 plaintiff Fabyan Robert draper 585869 585869 Fabyan, Robert, of London, draper 0
5481217 2499333 2499333 defendant Rylond Ralph husbandman 869237 869237 Rylond, Ralph, of Depford Stronde, or of West Grenewyche, Kent, husbandman 0
5481218 2499333 2499333 defendant Wylson Thomas husbandman 588473 588473 Wylson, Thomas, of Nasyng, Essex, husbandman 1
5481219 2499333 2499333 defendant Cramp John husbandman 611023 611023 Cramp, John, of Nasyng, husbandman 2
5481220 2499333 2499333 defendant Lee Robert husbandman 602073 602073 Lee, Robert, of Roydon, Essex, husbandman 3
5481221 2499333 2499333 defendant Senden Richard husbandman 639586 639586 Senden, Richard, of Horsham, Kent, husbandman 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 8.118ms