home / cp40x

names

6 rows where case_id = 2529858

✎ 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
5583331 2529858 2529858 plaintiff Frankelyn John clerk 902723 902723 Frankelyn, John, of Puryton, Wilts, clerk 0
5583332 2529858 2529858 defendant Genkyns John butcher 593027 593027 Genkyns, John, of Thornbury, butcher 0
5583333 2529858 2529858 defendant Reve Henry   591302 591302 Reve, Henry, of Cirencestre, parish clerk 1
5583334 2529858 2529858 defendant Cosener Thomas husbandman 902725 902725 Cosener, Thomas, of Brenkeworth, Wilts, husbandman 2
5583335 2529858 2529858 defendant Burgeys John husbandman 902726 902726 Burgeys, John, of Woxey, Wilts, husbandman 3
5583336 2529858 2529858 defendant Mill Richard husbandman 902727 902727 Mill, Richard, of Woxey, 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 14.597ms