home / cp40x

names

6 rows where case_id = 2306716

✎ 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
4834226 2306716 2306716 plaintiff Cote William     Cote, William 0
4834227 2306716 2306716 defendant Westwode John yeoman 772933 772933 Westwode, John, of Croten, yeoman 0
4834228 2306716 2306716 defendant Kervere John carver 586941 586941 Kervere, John, of Boxford, carver 1
4834229 2306716 2306716 defendant Mud Richard   598937 598937 Mud, Richard, of Leyham, plough man 2
4834230 2306716 2306716 defendant Peryn John sheer man 592767 592767 Peryn, John, of Stoke Neylond, sheer man 3
4834231 2306716 2306716 defendant atte Mille John laborer 595930 595930 atte Mille, John, of Groton, laborer 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 17.489ms