home / cp40x

names

6 rows where case_id = 1951404

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3779762 1951404 1951404 plaintiff Fermour Henry esq 599449 599449 Fermour, Henry, of Est Barsham, esq 0
3779763 1951404 1951404 defendant Kyng John shoemaker 589532 589532 Kyng, John, of Fakenham, shoemaker 0
3779764 1951404 1951404 defendant Larwode William tanner 589532 589532 Larwode, William, of Fakenham, tanner 1
3779765 1951404 1951404 defendant Smyth Thomas blacksmith 589532 589532 Smyth, Thomas, of Fakenham, blacksmith 2
3779766 1951404 1951404 defendant Dyghton Robert blacksmith 589532 589532 Dyghton, Robert, of Fakenham, blacksmith 3
3779767 1951404 1951404 defendant Benton Christopher dyer 589532 589532 Benton, Christopher, of Fakenham, dyer 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 12.734ms