home / cp40x

names

7 rows where case_id = 1911233

✎ 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
3652897 1911233 1911233 plaintiff Wentworth Richard knight   Wentworth, Richard, knight 0
3652898 1911233 1911233 defendant Jenney Edmund   585869 585869 Jenney, Edmund, of London, knight 0
3652899 1911233 1911233 defendant Talbot John clerk 585869 585869 Talbot, John, of London, clerk 1
3652900 1911233 1911233 defendant Holmes William clerk 585869 585869 Holmes, William, of London, clerk 2
3652901 1911233 1911233 defendant Hansard Anthony clerk 585869 585869 Hansard, Anthony, of London, clerk 3
3652902 1911233 1911233 defendant Kendale Robert husbandman 603056 603056 Kendale, Robert, of Whappelade, husbandman 4
3652903 1911233 1911233 defendant Holond Robert husbandman 589412 589412 Holond, Robert, of Pynchebek, 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 15.005ms