home / cp40x

names

8 rows where case_id = 2331144

✎ 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
4914799 2331144 2331144 plaintiff Davy alias Lukays Robert     Davy alias Lukays, Robert 0
4914800 2331144 2331144 plaintiff Gelhampton John   594326 594326 (Gelhampton, John, of Hyll 1
4914801 2331144 2331144 plaintiff Davy Joan     Davy, Joan 2
4914802 2331144 2331144 defendant Caux Henry yeoman 821321 821321 Caux, Henry, of Stokecurcy, yeoman 0
4914803 2331144 2331144 defendant Davy John tailor 821321 821321 Davy, John, of Stokecurcy, tailor 1
4914804 2331144 2331144 defendant Gardyner John mariner 590066 590066 Gardyner, John, of Bryggewater, mariner 2
4914805 2331144 2331144 defendant Gardyner William mariner 590066 590066 Gardyner, William, of Bryggewater, mariner 3
4914806 2331144 2331144 defendant Perys Thomas yeoman 821321 821321 Perys, Thomas, of Stokecurcy, 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.491ms