home / cp40x

names

7 rows where case_id = 2442652

✎ 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
5291948 2442652 2442652 plaintiff Raynward John, senior     Raynward, John, senior 0
5291949 2442652 2442652 defendant Baker Thomas baker 586416 586416 Baker, Thomas, of Padestowe, baker 0
5291950 2442652 2442652 defendant Kent Thomas fisher 586416 586416 Kent, Thomas, of Padestowe, fisher 1
5291951 2442652 2442652 defendant Trenethen Walter husbandman 586416 586416 Trenethen, Walter, of Padestowe, husbandman 2
5291952 2442652 2442652 defendant Bray Peter carpenter 586416 586416 Bray, Peter, of Padestowe, carpenter 3
5291953 2442652 2442652 defendant Colla William husbandman 869387 869387 Colla, William, of Trevyna, husbandman 4
5291954 2442652 2442652 defendant Cok William yeoman 587114 587114 Cok, William, of Bodmyn, yeoman 5

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 16.03ms