home / cp40x

names

8 rows where case_id = 1927127

✎ 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
3702728 1927127 1927127 plaintiff Collys Thomas (legal representative) 614254 614254 Collys, Thomas, of Eswell, husbandman, executors of 0
3702729 1927127 1927127 plaintiff Skotte John     (Skotte, John 1
3702730 1927127 1927127 plaintiff Wulman John     Wulman, John 2
3702731 1927127 1927127 defendant Brownyng Robert husbandman 610397 610397 Brownyng, Robert, of Myldenhall, husbandman 0
3702732 1927127 1927127 defendant Shylcok William husbandman 614255 614255 Shylcok, William, of Syrlyngton, husbandman 1
3702733 1927127 1927127 defendant Mynnys Robert husbandman 614256 614256 Mynnys, Robert, of Lakynhay, husbandman 2
3702734 1927127 1927127 defendant Holte William gent 610736 610736 Holte, William, of Sawston, Cams, gent 3
3702735 1927127 1927127 defendant Melton Thomas husbandman 592624 592624 Melton, Thomas, of Fulborne, Cams, 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 17.337ms