home / cp40x

names

7 rows where case_id = 2491194

✎ 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
5454292 2491194 2491194 plaintiff Adam John (legal representative) 585869 585869 Adam, John, of London, draper, son of Thomas Adam, of Headcorn, merchant, executor of 0
5454293 2491194 2491194 plaintiff Hathewey John     Hathewey, John 1
5454294 2491194 2491194 defendant Pelly John chapman 780398 780398 Pelly, John, of Bishop's Lenn, Norf, chapman 0
5454295 2491194 2491194 defendant Michell John chapman 755389 755389 Michell, John, of Bishop's Lenn, chapman 1
5454296 2491194 2491194 defendant Coke Robert   589001 589001 Coke, Robert, of Maydeston, tallow chandler 2
5454297 2491194 2491194 defendant Yong Joan widow 586175 586175 Yong, Joan, of Canterbury, widow 3
5454298 2491194 2491194 defendant Malmayn John yeoman 788318 788318 Malmayn, John, of Hethe or Hithe, 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 15.448ms