home / cp40x

names

6 rows where case_id = 2250189

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4663882 2250189 2250189 plaintiff Gresley Richard clerk   Gresley, Richard, clerk 0
4663883 2250189 2250189 defendant Bulle Thomas husbandman 590308 590308 Bulle, Thomas, of Westhorp, husbandman 0
4663884 2250189 2250189 defendant Bulle Henry husbandman 590308 590308 Bulle, Henry, of Westhorp, husbandman 1
4663885 2250189 2250189 defendant Auben Thomas husbandman 633507 633507 Auben, Thomas, of Gresley, husbandman 2
4663886 2250189 2250189 defendant Brygge Margaret widow 779769 779769 Brygge, Margaret, of Bleseley, widow 3
4663887 2250189 2250189 defendant Bykke Simonf carpenter 771580 771580 Bykke, Simonf, of Gonerton, carpenter 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 14.945ms