home / cp40x

names

6 rows where case_id = 2528798

✎ 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
5579909 2528798 2528798 plaintiff Broket John esq, sheriff of Essex   Broket, John, esq, sheriff of Essex 0
5579910 2528798 2528798 defendant Tofte Henry gent 585869 585869 Tofte, Henry, of London, gent 0
5579911 2528798 2528798 defendant Higham Thomas esq 589150 589150 Higham, Thomas, of Maldon, Essex, esq 1
5579912 2528798 2528798 defendant Hagard John yeoman 638571 638571 Hagard, John, of Sacompe, yeoman 2
5579913 2528798 2528798 defendant Uffa John yeoman 597389 597389 Uffa, John, of Watton at Stone, yeoman 3
5579914 2528798 2528798 defendant Gledale Edward yeoman 638571 638571 Gledale, Edward, of Sacompe, yeoman 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 17.882ms