home / cp40x

names

5 rows where case_id = 2123722

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4282337 2123722 2123722 plaintiff Styles James     Styles, James 0
4282338 2123722 2123722 defendant Meene Thomas yeoman 602445 602445 Meene, Thomas, of Weybred, yeoman 0
4282339 2123722 2123722 defendant Everard Joan widow 602445 602445 Everard, Joan, of Weybred, widow 1
4282340 2123722 2123722 defendant Meene Nicholas yeoman 602445 602445 Meene, Nicholas, of Weybred, yeoman 2
4282341 2123722 2123722 defendant Hubberd Anthony butcher 729398 729398 Hubberd, Anthony, of Metfeilde, butcher 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.262ms