home / cp40x

names

6 rows where case_id = 1870475

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3609015 1870475 1870475 plaintiff Weston William mercer 585869 585869 Weston, William, of London, mercer 0
3609016 1870475 1870475 defendant ap Gronowe William chapman 592809 592809 ap Gronowe, William, of Oswester, Wales, chapman 0
3609017 1870475 1870475 defendant Jelybronde James chapman 592811 592811 Jelybronde, James, of Westchestre, Cheshire, chapman 1
3609018 1870475 1870475 defendant Bent William yeoman 592810 592810 Bent, William, of Orsaunt, Wilts, yeoman 2
3609019 1870475 1870475 defendant Basse William chapman 585978 585978 Basse, William, of St Neots, Hunts, chapman 3
3609020 1870475 1870475 defendant Forster John clothmaker 586180 586180 Forster, John, of Bury St Edmunds, clothmaker 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.769ms