home / cp40x

names

8 rows where case_id = 2395812

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5131892 2395812 2395812 plaintiff Grey Henry esq   Grey, Henry, esq 0
5131893 2395812 2395812 defendant Smyth Richard yeoman 594005 594005 Smyth, Richard, of Wodehous, yeoman 0
5131894 2395812 2395812 defendant Wygan Thomas husbandman 850540 850540 Wygan, Thomas, of Cokeney, Notts, husbandman 1
5131895 2395812 2395812 defendant Maldester John brewer 630683 630683 Maldester, John, of Welbek, Notts, brewer 2
5131896 2395812 2395812 defendant Holbek William laborer 850541 850541 Holbek, William, of Holbek Graunge, Notts, laborer 3
5131897 2395812 2395812 defendant Holbek Nicholas   850542 850542 Holbek, Nicholas, of Holbek Graunge, laobere 4
5131898 2395812 2395812 defendant Broun Robert   850543 850543 Broun, Robert, of Belhous Graunge, Notts 5
5131899 2395812 2395812 defendant Banatyr Edward   850544 850544 Banatyr, Edward, of Welbek Abbey, Notts, servant 6

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 13.784ms