home / cp40x

names

9 rows where case_id = 1869978

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3607408 1869978 1869978 plaintiff Root Henry clerk   Root, Henry, clerk, executors of 0
3607409 1869978 1869978 plaintiff Ratheby John     (Ratheby, John 1
3607410 1869978 1869978 plaintiff Root William     Root, William 2
3607411 1869978 1869978 defendant Couper alias Gubson William (legal representative) 592347 592347 Couper alias Gubson, William, of Marshchapell, executors of 0
3607412 1869978 1869978 defendant Couper Robert husbandman 592346 592346 (Couper, Robert, of Marshchapell, Lincs, husbandman 1
3607413 1869978 1869978 defendant Couper John husbandman 592347 592347 Couper, John, of Marshchapell, husbandman 2
3607414 1869978 1869978 defendant Teynton Thomas husbandman 592347 592347 Teynton, Thomas, of Marshchapell, husbandman 3
3607415 1869978 1869978 defendant Garbray Richard chapman 592347 592347 Garbray, Richard, of Marshchapell, chapman 4
3607416 1869978 1869978 defendant Wytton Cuthbert yeoman 589466 589466 Wytton, Cuthbert, of Garnthorp, yeoman 5

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 11.83ms