home / cp40x

names

6 rows where case_id = 2359641

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5009425 2359641 2359641 plaintiff Trewelowe Richard clerk   Trewelowe, Richard, clerk 0
5009426 2359641 2359641 defendant Graunger William clerk 790724 790724 Graunger, William, of Little Kymbell, Bucks, clerk 0
5009427 2359641 2359641 defendant Ponde John husbandman 772874 772874 Ponde, John, of Little Kymbell, husbandman 1
5009428 2359641 2359641 defendant Halton Robert (legal representative) 834508 834508 Halton, Robert, of Carleton Scrope, Lincs, clerk, executors of 2
5009429 2359641 2359641 defendant Gale John clerk 803368 803368 (Gale, John, of Barston, Lincs, clerk 3
5009430 2359641 2359641 defendant Ferrers Robert clerk 620341 620341 Ferrers, Robert, of Hough, Lincs, clerk 4

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