home / cp40x

names

6 rows where case_id = 2335171

✎ 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
4927938 2335171 2335171 plaintiff Sergeaunt John clerk   Sergeaunt, John, clerk 0
4927939 2335171 2335171 defendant Hoberd Robert husbandman 608213 608213 Hoberd, Robert, of Fenyngham, husbandman 0
4927940 2335171 2335171 defendant Lowekyn Robert husbandman 586346 586346 Lowekyn, Robert, of Langham, husbandman 1
4927941 2335171 2335171 defendant Hervy John husbandman 608213 608213 Hervy, John, of Fenyngham, husbandman 2
4927942 2335171 2335171 defendant Poykyn John skinner 608213 608213 Poykyn, John, of Fenyngham, skinner 3
4927943 2335171 2335171 defendant Boteler John   608213 608213 Boteler, John, of Fenyngham, parson 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.05ms