home / cp40x

names

8 rows where case_id = 2420055

✎ 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
5214819 2420055 2420055 plaintiff Capull Thomas     Capull, Thomas 0
5214820 2420055 2420055 defendant Tyler John vicar of Fawnhope   Tyler, John, vicar of Fawnhope 0
5214821 2420055 2420055 defendant Chippenham William mercer 586208 586208 Chippenham, William, of Hereford, mercer 1
5214822 2420055 2420055 defendant Hardewyke John yeoman 611143 611143 Hardewyke, John, of Fuoggesasshe, yeoman 2
5214823 2420055 2420055 defendant Pope Roger husbandman 609197 609197 Pope, Roger, of Whytwyke, husbandman 3
5214824 2420055 2420055 defendant Gore John husbandman 860123 860123 Gore, John, of Foggesasshe, husbandman 4
5214825 2420055 2420055 defendant Blakeney Richard husbandman 588373 588373 Blakeney, Richard, of Rosse, husbandman 5
5214826 2420055 2420055 defendant Ellysmare William husbandman 598996 598996 Ellysmare, William, of Magna Marcle, husbandman 6

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.562ms