home / cp40x

names

7 rows where case_id = 2033187

✎ 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
4023719 2033187 2033187 plaintiff Bayly Nicholas (legal representative) 676679 676679 Bayly, Nicholas, of Stanton Drewe, husbandman, executor of 0
4023720 2033187 2033187 plaintiff Bayly John his son   Bayly, John, his son 1
4023721 2033187 2033187 defendant Tedge John husbandman 618908 618908 Tedge, John, of Draycott, husbandman 0
4023722 2033187 2033187 defendant Plentye John husbandman 618908 618908 Plentye, John, of Draycott, husbandman 1
4023723 2033187 2033187 defendant Mellyor John senior husbandman 676683 676683 Mellyor, John senior, of Catcott, husbandman 2
4023724 2033187 2033187 defendant Mellyor John junior   676683 676683 Mellyor, John junior, of Catcott, husbandman, dwelling in the eastern part of Catcott 3
4023725 2033187 2033187 defendant Dodd Thomas husbandman 676683 676683 Dodd, Thomas, of Catcott, 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 9.428ms