home / cp40x

names

5 rows where case_id = 2131784

✎ 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
4304717 2131784 2131784 plaintiff Hodges Richard     Hodges, Richard 0
4304718 2131784 2131784 defendant Nurton William innholder 586748 586748 Nurton, William, of Welles, innholder 0
4304719 2131784 2131784 defendant Anthonie John dyer 586748 586748 Anthonie, John, of Welles, dyer 1
4304720 2131784 2131784 defendant Smythe Robert innholder 586748 586748 Smythe, Robert, of Welles, innholder 2
4304721 2131784 2131784 defendant Morse Edward yeoman 601921 601921 Morse, Edward, of Croscombe, yeoman 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 21.142ms