home / cp40x

names

7 rows where case_id = 2370332

✎ 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
5045647 2370332 2370332 plaintiff Leek Thomas esq   Leek, Thomas, esq 0
5045648 2370332 2370332 defendant Norton Robert gent 600629 600629 Norton, Robert, of Kirton, gent 0
5045649 2370332 2370332 defendant Wyntryngton John Hychen, Herts, baker   Wyntryngton, John, Hychen, Herts, baker 1
5045650 2370332 2370332 defendant Bekke William clerk 595254 595254 Bekke, William, of Bekyngham, Lincs, clerk 2
5045651 2370332 2370332 defendant Foster Robert husbandman 638243 638243 Foster, Robert, of North Muskeham, Notts, husbandman 3
5045652 2370332 2370332 defendant Okirton Thomas husbandman 630392 630392 Okirton, Thomas, of Upton, Notts, husbandman 4
5045653 2370332 2370332 defendant Gray Simon   839457 839457 Gray, Simon, of Catworth, Nhants, hus 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 15.517ms