home / cp40x

names

5 rows where case_id = 2513537

✎ 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
5528824 2513537 2513537 plaintiff Nicholl John     Nicholl, John 0
5528825 2513537 2513537 defendant Elyot Robert husbandman 896696 896696 Elyot, Robert, of Crettyngham, husbandman 0
5528826 2513537 2513537 defendant Recuff William laborer 590181 590181 Recuff, William, of Denyngton, laborer 1
5528827 2513537 2513537 defendant Pooley William gent 602135 602135 Pooley, William, of Henyngham, gent 2
5528828 2513537 2513537 defendant Corbold John gent 587793 587793 Corbold, John, of Bedfeld, gent 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 13.798ms