home / cp40x

names

6 rows where case_id = 1988297

✎ 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
3894253 1988297 1988297 plaintiff Revet John clerk   Revet, John, clerk 0
3894254 1988297 1988297 plaintiff Wadelonde Walter esq   Wadelonde, Walter, esq 1
3894255 1988297 1988297 defendant Broun William clerk 647063 647063 Broun, William, of Wetheryngsett, Suff, clerk 0
3894256 1988297 1988297 defendant Folser John tanner 592390 592390 Folser, John, of Dysse, Norf, tanner 1
3894257 1988297 1988297 defendant Fuller Thomas butcher 587418 587418 Fuller, Thomas, of Dysse, butcher 2
3894258 1988297 1988297 defendant Bukkyngham Richard tanner 587418 587418 Bukkyngham, Richard, of Dysse, tanner 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 17.677ms