home / cp40x

names

7 rows where case_id = 2331720

✎ 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
4916653 2331720 2331720 plaintiff Filoll John     Filoll, John 0
4916654 2331720 2331720 defendant Galewey Richard laborer 821605 821605 Galewey, Richard, of Gussiche, All Saints, laborer 0
4916655 2331720 2331720 defendant Adadms John tailor 787818 787818 Adadms, John, of Cranborn, tailor 1
4916656 2331720 2331720 defendant Saundres Henry fo Horton, laborer   Saundres, Henry, fo Horton, laborer 2
4916657 2331720 2331720 defendant Skynner John skinner 638714 638714 Skynner, John, of Ryngwode, Hants, skinner 3
4916658 2331720 2331720 defendant Cheseman Thomas laborer 585971 585971 Cheseman, Thomas, of Ryngwode, laborer 4
4916659 2331720 2331720 defendant Brewes John laborer 593796 593796 Brewes, John, of Salisbury, Wilts, laborer 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 17.064ms