home / cp40x

names

5 rows where case_id = 2310243

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4845958 2310243 2310243 plaintiff Petriffeld John iromonger 585869 585869 Petriffeld, John, of London, iromonger 0
4845959 2310243 2310243 defendant Bale Bartholomew cutler 596244 596244 Bale, Bartholomew, of Thaxstede, Essex, cutler 0
4845960 2310243 2310243 defendant Hoo John   589377 589377 Hoo, John, of Thaxsted, blade smith 1
4845961 2310243 2310243 defendant Strachy William smith 811751 811751 Strachy, William, of Elsonom, Essex, smith 2
4845962 2310243 2310243 defendant Bataille William tiler 662519 662519 Bataille, William, of Waltham, Essex, tiler 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 13.078ms