home / cp40x

names

8 rows where case_id = 1872648

✎ 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
3616028 1872648 1872648 plaintiff Cusshyn John     Cusshyn, John 0
3616029 1872648 1872648 defendant Hyll William butcher 586102 586102 Hyll, William, of Hengham, butcher 0
3616030 1872648 1872648 defendant Blaksale Robert   586102 586102 Blaksale, Robert, of Hengham. Husbandman 1
3616031 1872648 1872648 defendant Northclyff Richard yeoman 586418 586418 Northclyff, Richard, of Garboldesham, yeoman 2
3616032 1872648 1872648 defendant Ederyche Robert barker 587172 587172 Ederyche, Robert, of Est Derham, barker 3
3616033 1872648 1872648 defendant Alpe John husbandman 594413 594413 Alpe, John, of Troston, Suff, husbandman 4
3616034 1872648 1872648 defendant Alpe Walter butcher 591070 591070 Alpe, Walter, of Refham, butcher 5
3616035 1872648 1872648 defendant Stalworthy John yeoman 591189 591189 Stalworthy, John, of Dunton, yeoman 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 13.537ms