home / cp40x

names

6 rows where case_id = 2312646

✎ 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
4853955 2312646 2312646 plaintiff Wymundham Thomas   599941 599941 Wymundham, Thomas, of Kegworth, parson 0
4853956 2312646 2312646 defendant Hoggeson William husbandman 813107 813107 Hoggeson, William, of Melbrn, husbandman 0
4853957 2312646 2312646 defendant Neuton Robert husbandman 813106 813106 Neuton, Robert, of Kynges Neuton, Derbs, husbandman 1
4853958 2312646 2312646 defendant Boseworth John yeoman 606953 606953 Boseworth, John, of Northampton, Nhants, yeoman 2
4853959 2312646 2312646 defendant Salford John husbandman 764760 764760 Salford, John, of Kynges Neuton, husbandman 3
4853960 2312646 2312646 defendant Wade John husbandman 813106 813106 Wade, John, of Kynges Neuton, Derbs, 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 14.547ms