home / cp40x

names

9 rows where case_id = 2312001

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4851797 2312001 2312001 plaintiff Wakeryng John formerly bishop of Norwich   Wakeryng, John, formerly bishop of Norwich, executors of 0
4851798 2312001 2312001 plaintiff (not given) Thomas bishop of Durham   (Durham, Thomas, bishop of 1
4851799 2312001 2312001 plaintiff Spoune William clerk   Spoune, William, clerk 2
4851800 2312001 2312001 plaintiff Dernham William clerk   Dernham, William, clerk 3
4851801 2312001 2312001 plaintiff Derman Nicholas clerk   Derman, Nicholas, clerk 4
4851802 2312001 2312001 plaintiff Wetherby Thomas     Wetherby, Thomas 5
4851803 2312001 2312001 plaintiff Scarle Robert     Scarle, Robert 6
4851804 2312001 2312001 defendant Patgrys John yeoman 628987 628987 Patgrys, John, of Attilburgh, Norf, yeoman 0
4851805 2312001 2312001 defendant Patgrys Robert yeoman 812744 812744 Patgrys, Robert, of Brunham Westgate, Norf, yeoman 1

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