home / cp40x

names

7 rows where case_id = 2274595

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4730033 2274595 2274595 plaintiff Lucas James     Lucas, James 0
4730034 2274595 2274595 defendant Grigge Robert yeoman 592523 592523 Grigge, Robert, of Walpoll, yeoman 0
4730035 2274595 2274595 defendant Snellyng Margaret widow 592523 592523 Snellyng, Margaret, of Walpoll, widow 1
4730036 2274595 2274595 defendant Perysson John yeoman 592523 592523 Perysson, John, of Walpoll, yeoman 2
4730037 2274595 2274595 defendant Godfreyson John yeoman 592523 592523 Godfreyson, John, of Walpoll, yeoman 3
4730038 2274595 2274595 defendant Sowegelder John yeoman   Sowegelder, John, yeoman 4
4730039 2274595 2274595 defendant Meye Robert yeoman 596822 596822 Meye, Robert, of Walsoken, yeoman 5

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