home / cp40x

names

6 rows where case_id = 2161982

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4392088 2161982 2161982 plaintiff Est Robert     Est, Robert 0
4392089 2161982 2161982 plaintiff Skidmore William     Skidmore, William 1
4392090 2161982 2161982 defendant Benfeild Thomas yeoman 692010 692010 Benfeild, Thomas, of Cookeham, Berks, yeoman 0
4392091 2161982 2161982 defendant Kneton George blacksmith 749903 749903 Kneton, George, of Rickmonsworth, Herts, blacksmith 1
4392092 2161982 2161982 defendant Lovejaye Thomas blacksmith 658995 658995 Lovejaye, Thomas, of Braye, Berks, blacksmith 2
4392093 2161982 2161982 defendant Haythorne Thomas yeoman 631607 631607 Haythorne, Thomas, of Braye, yeoman 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 29.326ms