home / cp40x

names

6 rows where case_id = 2465670

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5368159 2465670 2465670 plaintiff Croke Nicholas     Croke, Nicholas 0
5368160 2465670 2465670 defendant Cotton George husbandman 632762 632762 Cotton, George, of Islepe, husbandman 0
5368161 2465670 2465670 defendant Otley Richard husbandman 632762 632762 Otley, Richard, of Islepe, husbandman 1
5368162 2465670 2465670 defendant George William husbandman 632762 632762 George, William, of Islepe, husbandman 2
5368163 2465670 2465670 defendant Otley John husbandman 878567 878567 Otley, John, of Wood Eton, husbandman 3
5368164 2465670 2465670 defendant Hychecokke John draper 585970 585970 Hychecokke, John, of Oxford, draper 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 16.769ms