home / cp40x

names

6 rows where case_id = 1971275

✎ 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
3842780 1971275 1971275 plaintiff Busby Richard     Busby, Richard 0
3842781 1971275 1971275 defendant Hartwell Richard husbandman 638473 638473 Hartwell, Richard, of Swacclyff, husbandman 0
3842782 1971275 1971275 defendant Hawtyn Richard husbandman 633129 633129 Hawtyn, Richard, of Milcombe, husbandman 1
3842783 1971275 1971275 defendant Garner John husbandman 585941 585941 Garner, John, of Brayles, Warks, husbandman 2
3842784 1971275 1971275 defendant Tayllour Thomas tailor 638474 638474 Tayllour, Thomas, of Wynderton, Brayles, tailor 3
3842785 1971275 1971275 defendant Alam Roger butcher 638475 638475 Alam, Roger, of Shipston on Stower, Worcs, butcher 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 12.936ms