home / cp40x

names

6 rows where case_id = 2519628

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5548581 2519628 2519628 plaintiff Bagott Richard   619622 619622 Bagott, Richard, of Bybury 0
5548582 2519628 2519628 defendant Shyrborne Henry husbandman 898843 898843 Shyrborne, Henry, of Morecote, Crudwell, Wilts, husbandman 0
5548583 2519628 2519628 defendant Butte Thomas tucker 644516 644516 Butte, Thomas, of Mynchenhampton, tucker 1
5548584 2519628 2519628 defendant Curtes Robert husbandman 590163 590163 Curtes, Robert, of Crudwell, husbandman 2
5548585 2519628 2519628 defendant Curtes Thomas husbandman 776999 776999 Curtes, Thomas, of Brokynburgh, Wilts, husbandman 3
5548586 2519628 2519628 defendant Pope Richard tucker 607326 607326 Pope, Richard, of Morecote, tucker 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.006ms