home / cp40x

names

8 rows where case_id = 2517382

✎ 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
5541255 2517382 2517382 plaintiff Jenney Edmund knight   Jenney, Edmund, knight 0
5541256 2517382 2517382 plaintiff Hobart James attorney   Hobart, James, attorney 1
5541257 2517382 2517382 plaintiff Ichyngham Edward esq   Ichyngham, Edward, esq 2
5541258 2517382 2517382 plaintiff Plater William esq   Plater, William, esq 3
5541259 2517382 2517382 plaintiff Byllyngford Thomas esq   Byllyngford, Thomas, esq 4
5541260 2517382 2517382 defendant Hare Thomas clerk 593151 593151 Hare, Thomas, of Homersfeld, clerk 0
5541261 2517382 2517382 defendant Hare John yeoman 593151 593151 Hare, John, of Homersfeld, yeoman 1
5541262 2517382 2517382 defendant Syer William laborer 898050 898050 Syer, William, of Magna Porynglond, Norf, laborer 2

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