home / cp40x

names

5 rows where case_id = 2222110

✎ 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
4569706 2222110 2222110 plaintiff (not given) Cecilia abbess of Wherewell   Wherewell, Cecilia, abbess of 0
4569707 2222110 2222110 plaintiff Skyllyng John steward of the same abbess   Skyllyng, John, steward of the same abbess 1
4569708 2222110 2222110 defendant Hy_ Robert   624797 624797 Hy_, Robert, of Cherlton 0
4569709 2222110 2222110 defendant Nicol John   591089 591089 Nicol, John, of Malmesbury 1
4569710 2222110 2222110 defendant Hese Thomas   770631 770631 Hese, Thomas, of Marlbe 2

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 12.19ms