home / cp40x

names

6 rows where case_id = 2269970

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4714822 2269970 2269970 plaintiff Turnour Joh baker 587015 587015 Turnour, Joh, of St Albans, baker 0
4714823 2269970 2269970 defendant Sperlyng Henry husbandman 789726 789726 Sperlyng, Henry, of Busscheye, husbandman 0
4714824 2269970 2269970 defendant Olyvere Thomas husbandman 789726 789726 Olyvere, Thomas, of Busscheye, husbandman 1
4714825 2269970 2269970 defendant Harpesfeld William husbandman 587015 587015 Harpesfeld, William, of St Albans, husbandman 2
4714826 2269970 2269970 defendant Kyngham Robert   597835 597835 Kyngham, Robert, of Chesham, Bucks, glove maker 3
4714827 2269970 2269970 defendant Samuell John husbandman 788580 788580 Samuell, John, of Kynnesworth, husbandman 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 15.185ms