home / cp40x

names

9 rows where case_id = 2301107

✎ 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
4816037 2301107 2301107 plaintiff Longe Robert     Longe, Robert 0
4816038 2301107 2301107 plaintiff Rengeborn William     Rengeborn, William, on their own account 1
4816039 2301107 2301107 defendant Wyltshyre John husbandman 759366 759366 Wyltshyre, John, of Wherewell, husbandman 0
4816040 2301107 2301107 defendant Eylys John husbandman 806695 806695 Eylys, John, of Long Parish, husbandman 1
4816041 2301107 2301107 defendant Coryor William tailor 759366 759366 Coryor, William, of Wherewell, tailor 2
4816042 2301107 2301107 defendant Halle Alan shoemaker 759366 759366 Halle, Alan, of Wherewell, shoemaker 3
4816043 2301107 2301107 defendant Heyer William laborer 759366 759366 Heyer, William, of Wherewell, laborer 4
4816044 2301107 2301107 defendant Prymour John yeoman 806695 806695 Prymour, John, of Long Parish, yeoman 5
4816045 2301107 2301107 defendant Sawyer Henry husbandman 806695 806695 Sawyer, Henry, of Long Parish, 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 10.633ms