home / cp40x

names

6 rows where case_id = 2300444

✎ 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
4813853 2300444 2300444 plaintiff Hoper Stephen chapman 773172 773172 Hoper, Stephen, of Yevele, Soms, chapman 0
4813854 2300444 2300444 defendant Orum William husbandman 806313 806313 Orum, William, of Chete, Hants, husbandman 0
4813855 2300444 2300444 defendant Mamthewe William merchant 604644 604644 Mamthewe, William, of Shaftesbury, Dors, merchant 1
4813856 2300444 2300444 defendant Walle Thomas weaver 585975 585975 Walle, Thomas, of Shaftesbury, weaver 2
4813857 2300444 2300444 defendant Deye John smith 586373 586373 Deye, John, of Yevell, smith 3
4813858 2300444 2300444 defendant Broun Thomas husbandman 806314 806314 Broun, Thomas, of Chiltern Dunnmer, 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.158ms