home / cp40x

names

7 rows where case_id = 2519296

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5547531 2519296 2519296 plaintiff Withers John clerk   Withers, John, clerk 0
5547532 2519296 2519296 defendant Shirford William yeoman 586368 586368 Shirford, William, of Taunton, yeoman 0
5547533 2519296 2519296 defendant Shirford John, senior husbandman 707130 707130 Shirford, John, senior, of Comertrowe, husbandman 1
5547534 2519296 2519296 defendant Shirford John, junior husbandman 596248 596248 Shirford, John, junior, of Wodelond, husbandman 2
5547535 2519296 2519296 defendant James Robert yeoman 586368 586368 James, Robert, of Taunton, yeoman 3
5547536 2519296 2519296 defendant Wigger John yeoman 586368 586368 Wigger, John, of Taunton, yeoman 4
5547537 2519296 2519296 defendant Mader John husbandman 612795 612795 Mader, John, of Bishops Hull, husbandman 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 15.006ms