home / cp40x

names

6 rows where case_id = 2285342

✎ 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
4765939 2285342 2285342 plaintiff Kydermynster Thomas   753517 753517 Kydermynster, Thomas, of Kenilworth, prior 0
4765940 2285342 2285342 defendant Ferrour Richard smith 756635 756635 Ferrour, Richard, of Balsale, smith 0
4765941 2285342 2285342 defendant Ravenyng Thomas tailor 799171 799171 Ravenyng, Thomas, of Burmyngiam or Birmingham, tailor 1
4765942 2285342 2285342 defendant Crover William grasier 591737 591737 Crover, William, of Birmingham, grasier 2
4765943 2285342 2285342 defendant Shenston William butcher 586152 586152 Shenston, William, of Warwick, butcher 3
4765944 2285342 2285342 defendant Evaton Richard, sen husbandman 756635 756635 Evaton, Richard, sen, of Balsale, 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 6.171ms