home / cp40x

names

6 rows where case_id = 2030925

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4017385 2030925 2030925 plaintiff Thomas Lewis     Thomas, Lewis 0
4017386 2030925 2030925 defendant ap Jenkyn Thomas David husbandman 675169 675169 ap Jenkyn, Thomas David, of St Wollow, husbandman 0
4017387 2030925 2030925 defendant Hodges Richard husbandman 675169 675169 Hodges Richard, of St Wollow, husbandman 1
4017388 2030925 2030925 defendant John Philip yeoman 602017 602017 John, Philip, of Malpas, yeoman 2
4017389 2030925 2030925 defendant Rosser David husbandman 675170 675170 Rosser, David, of Bettus, husbandman 3
4017390 2030925 2030925 defendant Jenkyn Rice husbandman 596973 596973 Jenkyn, Rice, of Newport, 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 15.018ms