home / cp40x

names

6 rows where case_id = 2282330

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4756264 2282330 2282330 plaintiff Beby John clerk   Beby, John, clerk, executors of 0
4756265 2282330 2282330 plaintiff Brasier Ralph   649572 649572 (Brasier, Ralph, of Leycester 1
4756266 2282330 2282330 plaintiff (not given) John vicar of Siston 586435 586435 Siston, John, of Leicester, vicar of All Saints church 2
4756267 2282330 2282330 plaintiff Exham William     Exham, William 3
4756268 2282330 2282330 defendant George Richard farmer 586435 586435 George, Richard, of Leicester, farmer 0
4756269 2282330 2282330 defendant George John husbandman 753732 753732 George, John, of Kereby, husbandman 1

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