home / cp40x

names

7 rows where case_id = 1937442

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3735820 1937442 1937442 plaintiff Holand Owen     Holand, Owen 0
3735821 1937442 1937442 defendant Rowse William yeoman 620467 620467 Rowse, William, of Hease, Middx, yeoman 0
3735822 1937442 1937442 defendant Smyth William gent 620468 620468 Smyth, William, of Brykhyll, Bucks, gent 1
3735823 1937442 1937442 defendant Smyth Sybil Sybil, widow   Sybil his wife, formerly Rogers, Sybil, widow 2
3735824 1937442 1937442 defendant Long Robert gent 620469 620469 Long, Robert, of Weston Turvyll, Bucks, gent 3
3735825 1937442 1937442 defendant Arundell Christopher gent 585869 585869 Arundell, Christopher, of London, gent 4
3735826 1937442 1937442 defendant Hill William yeoman 620470 620470 Hill, William, of Drayton, Middx, yeoman 5

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