home / cp40x

names

8 rows where case_id = 2358379

✎ 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
5005052 2358379 2358379 plaintiff Rempston Robert     Rempston, Robert 0
5005053 2358379 2358379 defendant Hervy William   649722 649722 Hervy, William, of Bercombe, shepherd 0
5005054 2358379 2358379 defendant Pencrych Richard husbandman 603871 603871 Pencrych, Richard, of Mersshe, husbandman 1
5005055 2358379 2358379 defendant Jope Stephen husbandman 649722 649722 Jope, Stephen, of Bercombe, husbandman 2
5005056 2358379 2358379 defendant Hervyn Thomas husbandman 603871 603871 Hervyn, Thomas, of Mersshe, husbandman 3
5005057 2358379 2358379 defendant Trobell Robert husbandman 833798 833798 Trobell, Robert, of Bishop Wotton, husbandman 4
5005058 2358379 2358379 defendant Boureman Thomas husbandman 833799 833799 Boureman, Thomas, of Godlyngston, husbandman 5
5005059 2358379 2358379 defendant Couper Walter husbandman 773470 773470 Couper, Walter, of Blaneford Forum, husbandman 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 15.321ms