home / cp40x

names

8 rows where case_id = 2371912

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5050999 2371912 2371912 plaintiff Wales John     Wales, John, on his own account 0
5051000 2371912 2371912 defendant Cartyngton John     Cartyngton, John 0
5051001 2371912 2371912 defendant de Hall John chaplain   de Hall, John, chaplain 1
5051002 2371912 2371912 defendant Coter Richard     Coter, Richard 2
5051003 2371912 2371912 defendant Jakson Thomas     Jakson, Thomas 3
5051004 2371912 2371912 defendant Robson Robert     Robson, Robert 4
5051005 2371912 2371912 defendant Robson John     Robson, John 5
5051006 2371912 2371912 defendant and Jakson William   778015 778015 and Jakson, William, of Hogh 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 16.73ms