home / cp40x

names

7 rows where case_id = 2246795

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4652756 2246795 2246795 plaintiff Bampton John     Bampton, John 0
4652757 2246795 2246795 defendant Doweson Henry husbandman 778234 778234 Doweson, Henry, of Parva Salkeld, husbandman 0
4652758 2246795 2246795 defendant Fyndelaykan Thomas husbandman 778235 778235 Fyndelaykan, Thomas, of Petrelwra, husbandman 1
4652759 2246795 2246795 defendant Hudson Henry husbandman 776962 776962 Hudson, Henry, of Talkan, husbandman 2
4652760 2246795 2246795 defendant Milner Thomas huasbandman 778236 778236 Milner, Thomas, of Kirkeswald, huasbandman 3
4652761 2246795 2246795 defendant Walker John husbandman 778236 778236 Walker, John, of Kirkeswald, husbandman 4
4652762 2246795 2246795 defendant Lamson John husbandman 758065 758065 Lamson, John, of Laysyngby, 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 16.589ms