home / cp40x

names

5 rows where case_id = 2258715

✎ 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
4677931 2258715 2258715 plaintiff Hercy Thomas knight   Hercy, Thomas, knight 0
4677932 2258715 2258715 defendant Leek Simon de esq & formerly sheriff of Nottingham 782525 782525 Leek, Simon de, of Coton by Newerk, esq & formerly sheriff of Nottingham 0
4677933 2258715 2258715 defendant Smyth William yeoman 623512 623512 Smyth, William, of North Whetley, yeoman 1
4677934 2258715 2258715 defendant Roggerson William husbandman 595081 595081 Roggerson, William, of Misterton, husbandman 2
4677935 2258715 2258715 defendant Theker Thomas husbandman 623512 623512 Theker, Thomas, of North Whetley, husbandman 3

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 15.448ms