home / cp40x

names

10 rows where case_id = 2331082

✎ 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
4914585 2331082 2331082 plaintiff Dacre Thomas knight   Dacre, Thomas, knight 0
4914586 2331082 2331082 defendant Hilton Thomas yeoman 796605 796605 Hilton, Thomas, of Gamlesby, yeoman 0
4914587 2331082 2331082 defendant Hilton William yeoman 796605 796605 Hilton, William, of Gamlesby, yeoman 1
4914588 2331082 2331082 defendant Hilton Robert yeoman 796605 796605 Hilton, Robert, of Gamlesby, yeoman 2
4914589 2331082 2331082 defendant Wylkynson John yeoman 796605 796605 Wylkynson, John, of Gamlesby, yeoman 3
4914590 2331082 2331082 defendant Wylkynson Thomas yeoman 796604 796604 Wylkynson, Thomas, of Melmorby, yeoman 4
4914591 2331082 2331082 defendant Hoggeson John yeoman 821287 821287 Hoggeson, John, of Crukegarth, yeoman 5
4914592 2331082 2331082 defendant Milner William yeoman 821288 821288 Milner, William, of Lytil Salkeld, yeoman 6
4914593 2331082 2331082 defendant Milner Thomas milner 771689 771689 Milner, Thomas, of Little Salkeld, milner 7
4914594 2331082 2331082 defendant Hoggeson William yeoman 796604 796604 Hoggeson, William, of Melmorby, yeoman 8

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