home / cp40x

names

6 rows where case_id = 2385215

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5095852 2385215 2385215 plaintiff Southeyell Thomas     Southeyell, Thomas 0
5095853 2385215 2385215 defendant Maynard John husbandman 592927 592927 Maynard, John, of Brome, husbandman 0
5095854 2385215 2385215 defendant Germyn William roper 845467 845467 Germyn, William, of Southeyell, roper 1
5095855 2385215 2385215 defendant Beresey John clerk 666294 666294 Beresey, John, of Wotton, Surrey, clerk 2
5095856 2385215 2385215 defendant Wollaston John chaplain 590152 590152 Wollaston, John, of Clyfton, chaplain 3
5095857 2385215 2385215 defendant Geffrey Robert yeoman 845821 845821 Geffrey, Robert, of Oxford St Mary Magdalen, yeoman 4

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