home / cp40x

names

8 rows where case_id = 2414081

✎ 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
5194355 2414081 2414081 plaintiff Pye Robert (legal representative)   Pye, Robert, executor of 0
5194356 2414081 2414081 plaintiff Pye John   587058 587058 Pye, John, of Sutton 1
5194357 2414081 2414081 defendant Margotson William husbandman 593810 593810 Margotson, William, of West Retford, husbandman 0
5194358 2414081 2414081 defendant Woller Henry laborer 593810 593810 Woller, Henry, of West Retford, laborer 1
5194359 2414081 2414081 defendant Milford Robert husbandman 858147 858147 Milford, Robert, of Laughton in the Mornyng, Yorks, husbandman 2
5194360 2414081 2414081 defendant Holmefeld John husbandman 606886 606886 Holmefeld, John, of Anston, Yorks, husbandman 3
5194361 2414081 2414081 defendant Warde Henry yeoman 587043 587043 Warde, Henry, of Blythe, Notts, yeoman 4
5194362 2414081 2414081 defendant Emore Thomas     Emore, Thomas, 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 17.687ms