home / cp40x

names

8 rows where case_id = 2343054

✎ 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
4953642 2343054 2343054 plaintiff Slade Richard     Slade, Richard 0
4953643 2343054 2343054 defendant Stachedon William husbandman 826790 826790 Stachedon, William, of Wodehill, Beds, husbandman 0
4953644 2343054 2343054 defendant Heryot John husbandman 589539 589539 Heryot, John, of Wollaston, husbandman 1
4953645 2343054 2343054 defendant Malleshore John husbandman 589539 589539 Malleshore, John, of Wollaston, husbandman 2
4953646 2343054 2343054 defendant Cony John husbandman 589539 589539 Cony, John, of Wollaston, husbandman 3
4953647 2343054 2343054 defendant Bolme John husbandman 589539 589539 Bolme, John, of Wollaston, husbandman 4
4953648 2343054 2343054 defendant Mower Richard husbandman 589539 589539 Mower, Richard, of Wollaston, husbandman 5
4953649 2343054 2343054 defendant Petyt Richard carter 826791 826791 Petyt, Richard, of Stirkeston, carter 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 20.126ms