home / cp40x

names

6 rows where case_id = 2393635

✎ 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
5124523 2393635 2393635 plaintiff (illegible) William     ---, William 0
5124524 2393635 2393635 defendant Tetlowe Richard draper 587594 587594 Tetlowe, Richard, of Manchester, Lancs, draper 0
5124525 2393635 2393635 defendant (illegible) Henry gent 609708 609708 ---, Henry, of Manchester, gent 1
5124526 2393635 2393635 defendant Hulme Thomas   609708 609708 Hulme, Thomas, of Manchester 2
5124527 2393635 2393635 defendant Worsley Henry yeoman 609708 609708 Worsley, Henry, of Manchester, yeoman 3
5124528 2393635 2393635 defendant Hilton Margaret widow, formerly wife of Randulf Hilton, of Manchester   Hilton, Margaret, widow, formerly wife of Randulf Hilton, of Manchester 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 15.044ms