home / cp40x

names

6 rows where case_id = 1988590

✎ 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
3895160 1988590 1988590 plaintiff Slade Richard     Slade, Richard 0
3895161 1988590 1988590 defendant Cley Thomas husbandman 644597 644597 Cley, Thomas, of Oldehurst, husbandman 0
3895162 1988590 1988590 defendant Grene William baker 647241 647241 Grene, William, of Guymycester, baker 1
3895163 1988590 1988590 defendant Gymber William butcher 621639 621639 Gymber, William, of Temysford, Beds, butcher 2
3895164 1988590 1988590 defendant Peyn Robert yeoman 594218 594218 Peyn, Robert, of St Neots, yeoman 3
3895165 1988590 1988590 defendant Abbott Robert husbandman 645448 645448 Abbott, Robert, of Woodehurst, 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 7.817ms