home / cp40x

names

6 rows where case_id = 2403460

✎ 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
5157984 2403460 2403460 plaintiff Pigot Richard     Pigot, Richard 0
5157985 2403460 2403460 defendant Thundyr John yeoman 598568 598568 Thundyr, John, of Chetynglegh, yeoman 0
5157986 2403460 2403460 defendant Atherwold John butcher 596513 596513 Atherwold, John, of Ukkefeld, butcher 1
5157987 2403460 2403460 defendant Holyben William fishmonger 694954 694954 Holyben, William, of Cliff by Lewes, fishmonger 2
5157988 2403460 2403460 defendant Todyer John smith 588824 588824 Todyer, John, of Ryngmer, smith 3
5157989 2403460 2403460 defendant Colyn John laborer 586994 586994 Colyn, John, of Haylesham, 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 15.318ms