home / cp40x

names

5 rows where case_id = 2034190

✎ 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
4026686 2034190 2034190 plaintiff Cannon John   588219 588219 Cannon, John, of Swafham, wollen draper 0
4026687 2034190 2034190 defendant Flegge William clerk 677380 677380 Flegge, William, of Heveryngland, clerk 0
4026688 2034190 2034190 defendant Cowlyng John merchant 677381 677381 Cowlyng, John, of Estmore, merchant 1
4026689 2034190 2034190 defendant Tanne William of Swaffham Markett laborer   Tanne, William of Swaffham Markett, laborer 2
4026690 2034190 2034190 defendant Comer Oliver warrener 665047 665047 Comer, Oliver, of Magna Massingham, warrener 3

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.923ms