home / cp40x

names

8 rows where case_id = 2493503

✎ 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
5461900 2493503 2493503 plaintiff Ocle William     Ocle, William 0
5461901 2493503 2493503 defendant Kelsey Robert yeoman 650586 650586 Kelsey, Robert, of Waltham Cross, Herts, yeoman 0
5461902 2493503 2493503 defendant Cawethorn John yeoman 594143 594143 Cawethorn, John, of Waltham Cross, yeoman 1
5461903 2493503 2493503 defendant Harryson Robert smith 594143 594143 Harryson, Robert, of Waltham Cross, smith 2
5461904 2493503 2493503 defendant Defford Richard tailor 650586 650586 Defford, Richard, of Waltham Cross, Herts, tailor 3
5461905 2493503 2493503 defendant Devaunt John yeoman 589715 589715 Devaunt, John, of Chesthunt, Herts, yeoman 4
5461906 2493503 2493503 defendant Both Thomas butcher 587629 587629 Both, Thomas, of Chesthunt, butcher 5
5461907 2493503 2493503 defendant Multon William yeoman 594143 594143 Multon, William, of Waltham Cross, yeoman 6

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 14.669ms