home / cp40x

names

5 rows where case_id = 2310467

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4846664 2310467 2310467 plaintiff Pynchepole Thomas   616913 616913 Pynchepole, Thomas, of Ferneham 0
4846665 2310467 2310467 defendant Page Robert   764233 764233 Page, Robert, of Lecchelade, Gloucs, wool man 0
4846666 2310467 2310467 defendant Farendon John yeoman 586581 586581 Farendon, John, of Waltham St Lawrence, yeoman 1
4846667 2310467 2310467 defendant Brachel Walter husbandman 811903 811903 Brachel, Walter, of Nether Borton, husbandman 2
4846668 2310467 2310467 defendant Hudde William husbandman 811904 811904 Hudde, William, of Over Borton, husbandman 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 16.716ms