home / cp40x

names

7 rows where case_id = 2332242

✎ 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
4918287 2332242 2332242 plaintiff Gunne John (legal representative)   Gunne, John, executors of 0
4918288 2332242 2332242 plaintiff Gunne Joan formerly wife of Testator   (Gunne, Joan, formerly wife of Testator 1
4918289 2332242 2332242 plaintiff Grene Robert     Grene, Robert 2
4918290 2332242 2332242 defendant Adam John mercer 586747 586747 Adam, John, of Porlok, mercer 0
4918291 2332242 2332242 defendant Benet alias Enkowe John mercer 821874 821874 Benet alias Enkowe, John, of Stepton Beauchamp, mercer 1
4918292 2332242 2332242 defendant Machen Robert pewterer 586748 586748 Machen, Robert, of Welles, pewterer 2
4918293 2332242 2332242 defendant Tankard Peter bowyer 586748 586748 Tankard, Peter, of Welles, bowyer 3

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