home / cp40x

names

8 rows where case_id = 1941380

✎ 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
3748246 1941380 1941380 plaintiff Gibbys William     Gibbys, William 0
3748247 1941380 1941380 defendant Wattys Agnes widow 622658 622658 Wattys, Agnes, of Stratton on Fosse, widow 0
3748248 1941380 1941380 defendant Fowler Thomas husbandman 622658 622658 Fowler, Thomas, of Stratton on Fosse, husbandman 1
3748249 1941380 1941380 defendant Smyth Thomas laborer 622658 622658 Smyth, Thomas, of Stratton on Fosse, laborer 2
3748250 1941380 1941380 defendant Peers William laborer 622658 622658 Peers, William, of Stratton on Fosse, laborer 3
3748251 1941380 1941380 defendant Styrman William husbandman 622659 622659 Styrman, William, of Todenham, Glos, husbandman 4
3748252 1941380 1941380 defendant Poler George husbandman 592224 592224 Poler, George, of Todenham, husbandman 5
3748253 1941380 1941380 defendant Warde John husbandman 592224 592224 Warde, John, of Todenham, 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.381ms