home / cp40x

names

7 rows where case_id = 1962908

✎ 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
3816010 1962908 1962908 plaintiff Herryson Robert clerk   Herryson, Robert, clerk, executor of 0
3816011 1962908 1962908 plaintiff Hepham Robert     Hepham, Robert 1
3816012 1962908 1962908 defendant Crowe Thomas yeoman 592166 592166 Crowe, Thomas, of Myleham, yeoman 0
3816013 1962908 1962908 defendant Davy Robert yeoman 586401 586401 Davy, Robert, of Stanfeld, yeoman 1
3816014 1962908 1962908 defendant Sumptor William husbandman 599449 599449 Sumptor, William, of Est Barsham, husbandman 2
3816015 1962908 1962908 defendant Burre William carpenter 633975 633975 Burre, William, of North Bersham, carpenter 3
3816016 1962908 1962908 defendant Sumpter William smith 599449 599449 Sumpter, William, of Est Barsham, smith 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 12.609ms