home / cp40x

names

7 rows where case_id = 2480181

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5417595 2480181 2480181 plaintiff Person William   585869 585869 Person, William, of London, parson 0
5417596 2480181 2480181 defendant Caweston Thomas carpenter 585869 585869 Caweston, Thomas, of London, carpenter 0
5417597 2480181 2480181 defendant Bonyfaunt John esq 585869 585869 Bonyfaunt, John, of London, esq 1
5417598 2480181 2480181 defendant Norton John tailor 585869 585869 Norton, John, of London, tailor 2
5417599 2480181 2480181 defendant Anorten John sheerman 608698 608698 Anorten, John, of Faversham, Kent, sheerman 3
5417600 2480181 2480181 defendant Honcheche John yeoman 588457 588457 Honcheche, John, of Thaxsted, Essex, yeoman 4
5417601 2480181 2480181 defendant fitz Hugh (illegible) gent 585869 585869 fitz Hugh, _, of London, gent 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 12.506ms