home / cp40x

names

5 rows where case_id = 2116710

✎ 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
4261181 2116710 2116710 plaintiff Straye Ralph     Straye, Ralph 0
4261182 2116710 2116710 defendant Wycker John   593666 593666 Wycker, John, of Hedley, Surrey, husbandman, son of Thomas Wicker, of Hedley 0
4261183 2116710 2116710 defendant Maybancke James collier 585869 585869 Maybancke, James, of London, or of Shere, Surrey, collier 1
4261184 2116710 2116710 defendant Duffeild John   725413 725413 Duffeild, John, of Lymehowse, lime man 2
4261185 2116710 2116710 defendant Rowlande Richard yeoman 629425 629425 Rowlande, Richard, of Bromeley, Kent, yeoman 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.48ms