home / cp40x

names

7 rows where case_id = 1934925

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3727659 1934925 1934925 plaintiff Weston Richard knight   Weston, Richard, knight 0
3727660 1934925 1934925 defendant Grey Edward   619022 619022 Grey, Edward, of Shotery, Warks, knight 0
3727661 1934925 1934925 defendant Rowley Anthony esq 619023 619023 Rowley, Anthony, of Eggecombe, Nhants, esq 1
3727662 1934925 1934925 defendant Horde Alan gent 585869 585869 Horde, Alan, of London, gent 2
3727663 1934925 1934925 defendant Markam Robert gent 585869 585869 Markam, Robert, of London, gent 3
3727664 1934925 1934925 defendant Blount Walter gent 590605 590605 Blount, Walter, of Burton on Trent, Staffs, gent 4
3727665 1934925 1934925 defendant Cowper William gent 603806 603806 Cowper, William, of Padyngton, Middx, 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 8.643ms