home / cp40x

names

6 rows where case_id = 1999549

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3927522 1999549 1999549 plaintiff Atmere Henry     Atmere, Henry 0
3927523 1999549 1999549 defendant Benselyn William, senior   595256 595256 Benselyn, William, senior, of Shotesham, Norf 0
3927524 1999549 1999549 defendant Pynder Thomas yeoman 653174 653174 Pynder, Thomas, of Attylbrydge, Norf, yeoman 1
3927525 1999549 1999549 defendant Beamond John   591025 591025 Beamond, John, of Lowestofte, Suff, horse corser 2
3927526 1999549 1999549 defendant Bretten William gent 620346 620346 Bretten, William, of Felmyngham, Norf, gent 3
3927527 1999549 1999549 defendant Grene Thomas   590901 590901 Grene, Thomas, of Thetford, Norf, inn keeper 4

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