home / cp40x

names

5 rows where place_id = 771445

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4578263 2224698 2224698 defendant Wodeward Robert   771445 771445 Wodeward, Robert, of Tewksbury 3
4853642 2312557 2312557 plaintiff Wrytere John sheerman 771445 771445 Wrytere, John, of Tewksbury, sheerman 0
4853643 2312557 2312557 defendant Purnate Richard barber 771445 771445 Purnate, Richard, of Tewksbury, barber 0
5170373 2407064 2407064 defendant Tommes William   771445 771445 Tommes, William, of Tewksbury, salt fishmonger 0
5208053 2418088 2418088 plaintiff Page John   771445 771445 Page, John, of Tewksbury 0

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