home / cp40x

names

6 rows where case_id = 2426011

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5235661 2426011 2426011 plaintiff Deye Robert     Deye, Robert 0
5235662 2426011 2426011 defendant Watkyn Alexander yeoman 586134 586134 Watkyn, Alexander, of Ipswich, yeoman 0
5235663 2426011 2426011 defendant Husband Thomas merchant 585907 585907 Husband, Thomas, of Bishops Lenn, merchant 1
5235664 2426011 2426011 defendant Foster William yeoman 586134 586134 Foster, William, of Ipswich, yeoman 2
5235665 2426011 2426011 defendant Balser Richard mariner 862557 862557 Balser, Richard, of Whytstapyll, Kent, mariner 3
5235666 2426011 2426011 defendant Balser George mariner 862557 862557 Balser, George, of Whytstapyll, Kent, mariner 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 5.861ms