home / cp40x

names

7 rows where case_id = 2004466

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3942382 2004466 2004466 plaintiff Whytt John   656949 656949 Whytt, John, of Cawcott 0
3942383 2004466 2004466 plaintiff Garrat Thomas   596973 596973 Garrat, Thomas, of Newport 1
3942384 2004466 2004466 plaintiff Holway Clement     Holway, Clement 2
3942385 2004466 2004466 defendant Foster Guy gent 656950 656950 Foster, Guy, of Hanslap, Bucks, gent 0
3942386 2004466 2004466 defendant Matthewe Robert gent 636398 636398 Matthewe, Robert, of Hanslap, gent 1
3942387 2004466 2004466 defendant Lamburn Ralph yeoman 656951 656951 Lamburn, Ralph, of Haslap, yeoman 2
3942388 2004466 2004466 defendant West John yeoman 636398 636398 West, John, of Hanslap, 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 14.705ms