home / cp40x

names

8 rows where case_id = 1904375

✎ 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
3630512 1904375 1904375 plaintiff Facete Adam clerk   Facete, Adam, clerk, executors of 0
3630513 1904375 1904375 plaintiff Beverley William     (Beverley, William 1
3630514 1904375 1904375 plaintiff Hall John     Hall, John 2
3630515 1904375 1904375 defendant Turpyn Robert husbandman 597953 597953 Turpyn, Robert, of Busshoppeston, husbandman 0
3630516 1904375 1904375 defendant Grey John husbandman 597954 597954 Grey, John, of Pacchyng, husbandman 1
3630517 1904375 1904375 defendant Danyell William husbandman 597955 597955 Danyell, William, of Pageham, husbandman 2
3630518 1904375 1904375 defendant Danyell John husbandman 597955 597955 Danyell, John, of Pageham, husbandman 3
3630519 1904375 1904375 defendant Hart Richard husbandman 597954 597954 Hart, Richard, of Pacchyng, 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 16.588ms