home / cp40x

names

9 rows where case_id = 2499054

✎ 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
5480171 2499054 2499054 plaintiff Couper John     Couper, John 0
5480172 2499054 2499054 defendant Rowebothum John husbandman 862987 862987 Rowebothum, John, of Stubbylane, husbandman 0
5480173 2499054 2499054 defendant Rowebothum Richard yeoman 862987 862987 Rowebothum, Richard, of Stubbylane, yeoman 1
5480174 2499054 2499054 defendant Rowebothum William yeoman 862987 862987 Rowebothum, William, of Stubbylane, yeoman 2
5480175 2499054 2499054 defendant Whityngton Richard yeoman 891757 891757 Whityngton, Richard, of Neweborough, yeoman 3
5480176 2499054 2499054 defendant Strynger Richard yeoman 891757 891757 Strynger, Richard, of Neweborough, yeoman 4
5480177 2499054 2499054 defendant Fenton Robert husbandman 891757 891757 Fenton, Robert, of Neweborough, husbandman 5
5480178 2499054 2499054 defendant Colyer Thurstan husbandman 891758 891758 Colyer, Thurstan, of Gloudlogge, husbandman 6
5480179 2499054 2499054 defendant Curtes Thomas husbandman 608132 608132 Curtes, Thomas, of Fald, husbandman 7

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