home / cp40x

names

7 rows where case_id = 2477098

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5407126 2477098 2477098 plaintiff Tygo John draper & burgess 755389 755389 Tygo, John, of Bishop's Lenn, draper & burgess 0
5407127 2477098 2477098 defendant Nicholson William gent 755389 755389 Nicholson, William, of Bishop's Lenn, gent 0
5407128 2477098 2477098 defendant Gyggys John yeoman 884329 884329 Gyggys, John, of Norton Burnham, yeoman 1
5407129 2477098 2477098 defendant Bybbes John yeoman 876790 876790 Bybbes, John, of Burnham St Margaret, yeoman 2
5407130 2477098 2477098 defendant Stratton John gent 755389 755389 Stratton, John, of Bishop's Lenn, gent 3
5407131 2477098 2477098 defendant Tygoe Stephen draper 593840 593840 Tygoe, Stephen, of Market Depyng, Lincs, draper 4
5407132 2477098 2477098 defendant Kyng William draper 591385 591385 Kyng, William, of Peterborough, Nhants, draper 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 15.458ms