home / cp40x

names

6 rows where case_id = 2414092

✎ 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
5194400 2414092 2414092 plaintiff Pygot Richard     Pygot, Richard 0
5194401 2414092 2414092 defendant Thundyr John yeoman 598568 598568 Thundyr, John, of Chetynglegh, yeoman 0
5194402 2414092 2414092 defendant Atherwold John butcher 856750 856750 Atherwold, John, of Uckfield, butcher 1
5194403 2414092 2414092 defendant Holybon William fishmonger 805267 805267 Holybon, William, of Cliff, near Lewes, fishmonger 2
5194404 2414092 2414092 defendant Godyer John smith 706652 706652 Godyer, John, of Ringmer, smith 3
5194405 2414092 2414092 defendant Colyn John laborer 858151 858151 Colyn, John, of Hailesham, 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 16.682ms