home / cp40x

names

5 rows where case_id = 2087705

✎ 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
4177781 2087705 2087705 plaintiff Howson William     Howson, William 0
4177782 2087705 2087705 defendant Chaters Richard yeoman 594818 594818 Chaters, Richard, of Byker, yeoman 0
4177783 2087705 2087705 defendant Howse Thomas yeoman 594818 594818 Howse, Thomas, of Byker, yeoman 1
4177784 2087705 2087705 defendant Groby Thomas yeoman 669843 669843 Groby, Thomas, of Swinshed, yeoman 2
4177785 2087705 2087705 defendant Margery John husbandman 653986 653986 Margery, John, of Wigtofte, husbandman 3

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.93ms