home / cp40x

names

6 rows where case_id = 1937803

✎ 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
3736940 1937803 1937803 plaintiff Knyghtley William gent   Knyghtley, William, gent 0
3736941 1937803 1937803 defendant Curson John gent 587060 587060 Curson, John, of Wodbastwyk, gent 0
3736942 1937803 1937803 defendant Clere Edmund esq 598307 598307 Clere, Edmund, of Stokesby, esq 1
3736943 1937803 1937803 defendant Colvile John gent 590405 590405 Colvile, John, of Martham, gent 2
3736944 1937803 1937803 defendant Stede William gent 595689 595689 Stede, William, of Fraunsham, gent 3
3736945 1937803 1937803 defendant Grave Nicholas gent 589306 589306 Grave, Nicholas, of Catfeld, gent 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 13.896ms