home / cp40x

names

9 rows where case_id = 2437123

✎ 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
5272810 2437123 2437123 plaintiff Legh Gilbert esq   Legh, Gilbert, esq 0
5272811 2437123 2437123 defendant Nelsthorp Richard husbandman 867026 867026 Nelsthorp, Richard, of Brette near Ferybrigge, husbandman 0
5272812 2437123 2437123 defendant Gylys John, junior husbandman 867027 867027 Gylys, John, junior, of Mylford by Shirburn in Elmete, husbandman 1
5272813 2437123 2437123 defendant Holme William husbandman 867028 867028 Holme, William, of Bretton by Ferybrigge, husbandman 2
5272814 2437123 2437123 defendant Olred Robert husbandman 635909 635909 Olred, Robert, of Bretton, husbandman 3
5272815 2437123 2437123 defendant Olred Richard, senior husbandman 635909 635909 Olred, Richard, senior, of Bretton, husbandman 4
5272816 2437123 2437123 defendant Parker John husbandman 635909 635909 Parker, John, of Bretton, husbandman 5
5272817 2437123 2437123 defendant Marsshall William husbandman 635909 635909 Marsshall, William, of Bretton, husbandman 6
5272818 2437123 2437123 defendant Ryles Thomas laborer 635909 635909 Ryles, Thomas, of Bretton, laborer 7

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