home / cp40x

names

6 rows where case_id = 1905230

✎ 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
3633293 1905230 1905230 plaintiff Kempe Thomas knight, sheriff   Kempe, Thomas, knight, sheriff 0
3633294 1905230 1905230 defendant Badcok John yeoman 596035 596035 Badcok, John, of Fretynden, yeoman 0
3633295 1905230 1905230 defendant Sander William fuller 596035 596035 Sander, William, of Fretynden, fuller 1
3633296 1905230 1905230 defendant Bere Thomas yeoman 598610 598610 Bere, Thomas, of Willesborough, yeoman 2
3633297 1905230 1905230 defendant Fuller John smith 588412 588412 Fuller, John, of Westwell, smith 3
3633298 1905230 1905230 defendant Barrey John yeoman 588316 588316 Barrey, John, of Wye, 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 13.342ms