home / cp40x

names

8 rows where case_id = 2311477

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4850037 2311477 2311477 plaintiff Sutton Thomas esq   Sutton, Thomas, esq 0
4850038 2311477 2311477 plaintiff Pynchebek Richard     Pynchebek, Richard 1
4850039 2311477 2311477 defendant Morewode William gent 595972 595972 Morewode, William, of Stamford, gent 0
4850040 2311477 2311477 defendant Berlay Robert yeoman 595972 595972 Berlay, Robert, of Stamford, yeoman 1
4850041 2311477 2311477 defendant Baryngton John husbandman 586846 586846 Baryngton, John, of Lincoln, husbandman 2
4850042 2311477 2311477 defendant Thorp William husbandman 586846 586846 Thorp, William, of Lincoln, husbandman 3
4850043 2311477 2311477 defendant Claymond Thomas husbandman 586504 586504 Claymond, Thomas, of Frampton, husbandman 4
4850044 2311477 2311477 defendant Tilney John husbandman 592846 592846 Tilney, John, of Wygtoft, husbandman 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 22.879ms