home / cp40x

names

9 rows where case_id = 2470155

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5382819 2470155 2470155 plaintiff Swaby Richard clerk   Swaby, Richard, clerk 0
5382820 2470155 2470155 defendant Pormard Thomas gent 880896 880896 Pormard, Thomas, of Salt Fleteby, gent 0
5382821 2470155 2470155 defendant Pormard Margaret     Margaret, his wife 1
5382822 2470155 2470155 defendant Rous William yeoman 597186 597186 Rous, William, of Saltefleteby, yeoman 2
5382823 2470155 2470155 defendant Rous Isabell     Isabell, his wife 3
5382824 2470155 2470155 defendant Brees Agnes spinster 644632 644632 Brees, Agnes, of Saltfleteby, spinster 4
5382825 2470155 2470155 defendant Swaby Elizabeth widow 644632 644632 Swaby, Elizabeth, of Saltfleteby, widow 5
5382826 2470155 2470155 defendant Baly William laborer 644632 644632 Baly, William, of Saltfleteby, laborer 6
5382827 2470155 2470155 defendant Baly Alice     Alice, his wife 7

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