home / cp40x

names

5 rows where case_id = 2460262

✎ 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
5350445 2460262 2460262 plaintiff Comber John     Comber, John 0
5350446 2460262 2460262 defendant Golthill Richard husbandman 613296 613296 Golthill, Richard, of Colwall, husbandman 0
5350447 2460262 2460262 defendant Longe William husbandman 613672 613672 Longe, William, of Cradley, husbandman 1
5350448 2460262 2460262 defendant Hall John yeoman 613672 613672 Hall, John, of Cradley, yeoman 2
5350449 2460262 2460262 defendant Colyns John husbandman 613672 613672 Colyns, John, of Cradley, husbandman 3

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