home / cp40x

names

7 rows where case_id = 2273399

✎ 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
4725933 2273399 2273399 plaintiff Goef Ralph     Goef, Ralph 0
4725934 2273399 2273399 defendant Raulyn John husbandman 791799 791799 Raulyn, John, of Bossuf, husbandman 0
4725935 2273399 2273399 defendant Bara Martin husbandman 791800 791800 Bara, Martin, of Manle, husbandman 1
4725936 2273399 2273399 defendant Bossanyan Tustan husbandman 791801 791801 Bossanyan, Tustan, of Bossonyan, husbandman 2
4725937 2273399 2273399 defendant Ressant Henry laborer 603624 603624 Ressant, Henry, of Truro, laborer 3
4725938 2273399 2273399 defendant Due John sadler 603624 603624 Due, John, of Truro, sadler 4
4725939 2273399 2273399 defendant Herbert Mark laborer 603624 603624 Herbert, Mark, of Truro, laborer 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.036ms