home / cp40x

names

6 rows where case_id = 1915535

✎ 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
3666716 1915535 1915535 plaintiff Waller John attorney of the Bench   Waller, John, attorney of the Bench 0
3666717 1915535 1915535 defendant Wode Thomas   761303 761303 Wode, Thomas, of Bergham yeoman 0
3666718 1915535 1915535 defendant Woodcok William yeoman 587638 587638 Woodcok, William, of Hyntlysham, yeoman 1
3666719 1915535 1915535 defendant Traners peter yeoman 587638 587638 Traners, peter, of Hyntlysham, yeoman 2
3666720 1915535 1915535 defendant Ussherwoode John yeoman 586134 586134 Ussherwoode, John, of Ipswich, yeoman 3
3666721 1915535 1915535 defendant Aylmer John yeoman 606841 606841 Aylmer, John, of Badysford, 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 14.013ms