home / cp40x

names

6 rows where case_id = 1932942

✎ 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
3721229 1932942 1932942 plaintiff Langley John     Langley, John 0
3721230 1932942 1932942 defendant Barker John fuller 599134 599134 Barker, John, of Huchyn, fuller 0
3721231 1932942 1932942 defendant Clerke William chandler 599134 599134 Clerke, William, of Huchyn, chandler 1
3721232 1932942 1932942 defendant Hogekyns Robert husbandman 611688 611688 Hogekyns, Robert, of Shepehale, husbandman 2
3721233 1932942 1932942 defendant Harmer William husbandman 599887 599887 Harmer, William, of Codycote, husbandman 3
3721234 1932942 1932942 defendant Tyler John butcher 587398 587398 Tyler, John, of Luton, Beds, butcher 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 7.703ms