home / cp40x

names

7 rows where case_id = 1962825

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3815685 1962825 1962825 plaintiff Hartylpole William     Hartylpole, William 0
3815686 1962825 1962825 defendant Nevell Robert master of Rotheram College   Nevell, Robert, master of Rotheram College 0
3815687 1962825 1962825 defendant Whyte Robert prior of Reyston Priory   Whyte, Robert, prior of Reyston Priory 1
3815688 1962825 1962825 defendant Britton Richard canon   Britton, Richard, canon 2
3815689 1962825 1962825 defendant Reynes Hugh yeoman 633933 633933 Reynes, Hugh, of Reyston, yeoman 3
3815690 1962825 1962825 defendant Hiche Thomas laborer 633933 633933 Hiche, Thomas, of Reyston, laborer 4
3815691 1962825 1962825 defendant Pye Roger husbandman 633934 633934 Pye, Roger, of Barkway, husbandman 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 22.058ms