home / cp40x

names

6 rows where case_id = 1948097

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, occupation

id ▼ case_id role surname forename occupation place_id raw_segment seq
3769423 1948097 1948097 defendant Levett William chaplain 588259 588259 Levett, William, of Flecchyng, chaplain 0
3769424 1948097 1948097 defendant Skynner John, senior husbandman 588259 588259 Skynner, John, senior, of Flecchyng, husbandman 1
3769425 1948097 1948097 defendant Skynner John, junior husbandman 588259 588259 Skynner, John, junior, of Flecchyng, husbandman 2
3769426 1948097 1948097 defendant Skynner Robert husbandman 588259 588259 Skynner, Robert, of Flecchyng, husbandman 3
3769427 1948097 1948097 defendant Banaster Nicholas husbandman 588259 588259 Banaster, Nicholas, of Flecchyng, husbandman 4
3769428 1948097 1948097 defendant Castelynd John husbandman 588259 588259 Castelynd, John, of Flecchyng, husbandman 5

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.047ms