home / cp40x

names

7 rows where case_id = 2348759

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4972667 2348759 2348759 plaintiff Kyrkeby John     Kyrkeby, John 0
4972668 2348759 2348759 defendant Wattys John husbandman 829136 829136 Wattys, John, of Wyghle, Hants, husbandman 0
4972669 2348759 2348759 defendant Artour John husbandman 829137 829137 Artour, John, of Frycham, Hants, husbandman 1
4972670 2348759 2348759 defendant Ederiche Thomas husbandman 797700 797700 Ederiche, Thomas, of Broke, Hants, husbandman 2
4972671 2348759 2348759 defendant Lyt John husbandman 829138 829138 Lyt, John, of Burneford, Hants, husbandman 3
4972672 2348759 2348759 defendant Pynhorne John husbandman 588620 588620 Pynhorne, John, of Broke, husbandman 4
4972673 2348759 2348759 defendant Lambard Peter laborer 829139 829139 Lambard, Peter, of Bremylshawe, laborer 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 12.934ms