home / cp40x

names

6 rows where case_id = 2469839

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5381747 2469839 2469839 plaintiff Kesyng Thomas   585869 585869 Kesyng, Thomas, of London 0
5381748 2469839 2469839 defendant K_ William yeoman 831582 831582 K_, William, of Honyng, Norfolk, yeoman 0
5381749 2469839 2469839 defendant Wattes Robert yeoman 588445 588445 Wattes, Robert, of Aylysham, Norf, yeoman 1
5381750 2469839 2469839 defendant Yarlowe Alan husbandman 880756 880756 Yarlowe, Alan, of Blykling, husbandman 2
5381751 2469839 2469839 defendant Long John husbandman 606482 606482 Long, John, of Norfolk, husbandman 3
5381752 2469839 2469839 defendant Telle Henry husbandman 586471 586471 Telle, Henry, of Aylesham, husbandman 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 16.429ms