home / cp40x

names

7 rows where case_id = 2042368

✎ 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
4049802 2042368 2042368 plaintiff Waidson Robert     Waidson, Robert 0
4049803 2042368 2042368 defendant Nelson Marmaduke yeoman 682460 682460 Nelson, Marmaduke, of Lecke, Lancs, yeoman 0
4049804 2042368 2042368 defendant Duckett Richard gent 682461 682461 Duckett, Richard, of Sedberr, Yorks, gent 1
4049805 2042368 2042368 defendant Hodgshon Ralph yeoman 647722 647722 Hodgshon, Ralph, of Dent, yeoman 2
4049806 2042368 2042368 defendant Willan Henry yeoman 647722 647722 Willan, Henry, of Dent, yeoman 3
4049807 2042368 2042368 defendant Wynn Leonard yeoman 682458 682458 Wynn, Leonard, of Gryesdall, yeoman 4
4049808 2042368 2042368 defendant Nelson Miles yeoman 682459 682459 Nelson, Miles, of Garsdall, yeoman 5

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.76ms