home / cp40x

names

6 rows where case_id = 2534970

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5600270 2534970 2534970 plaintiff Heron John     Heron, John 0
5600271 2534970 2534970 defendant Jott Thomas of hadley butcher   Jott, Thomas of hadley, butcher 0
5600272 2534970 2534970 defendant Taylour John butcher 595192 595192 Taylour, John, of Lee, butcher 1
5600273 2534970 2534970 defendant Parker William yeoman 595824 595824 Parker, William, of Belerica, yeoman 2
5600274 2534970 2534970 defendant Broun William laborer 593817 593817 Broun, William, of Pritwell, laborer 3
5600275 2534970 2534970 defendant Peke John husbandman 594482 594482 Peke, John, of North Shobery, husbandman 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.369ms