home / cp40x

names

7 rows where case_id = 2187217

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4457042 2187217 2187217 plaintiff Parker William     Parker, William 0
4457043 2187217 2187217 defendant Jely Thomas   758826 758826 Jely, Thomas, of Hoton in the Forest 0
4457044 2187217 2187217 defendant Emsdun Alexander   586549 586549 Emsdun, Alexander, of Hoton 1
4457045 2187217 2187217 defendant Baron Thomas   586549 586549 Baron, Thomas, of Hoton 2
4457046 2187217 2187217 defendant Nutshawe Thomas   586549 586549 Nutshawe, Thomas, of Hoton 3
4457047 2187217 2187217 defendant Nutshawe John   586549 586549 Nutshawe, John, of Hoton 4
4457048 2187217 2187217 defendant Bo--stals William   586549 586549 Bo--stals, William, of Hoton 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 17.818ms