home / cp40x

names

6 rows where case_id = 2455119

✎ 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
5333586 2455119 2455119 plaintiff Debenham Simon esq   Debenham, Simon, esq 0
5333587 2455119 2455119 defendant Peverell John butcher 753972 753972 Peverell, John, of Bergholte, butcher 0
5333588 2455119 2455119 defendant Herman Robert yeoman 588756 588756 Herman, Robert, of Holton, yeoman 1
5333589 2455119 2455119 defendant Herman William yeoman 588756 588756 Herman, William, of Holton, yeoman 2
5333590 2455119 2455119 defendant Halk Richard clothmaker 766061 766061 Halk, Richard, of Stoke Neyland, clothmaker 3
5333591 2455119 2455119 defendant Peverell Richard yeoman 590696 590696 Peverell, Richard, of Est Berholt, 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 18.95ms