home / cp40x

names

7 rows where case_id = 1957781

✎ 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
3799548 1957781 1957781 plaintiff Johnson Leonard stockfishmonger 585869 585869 Johnson, Leonard, of London, stockfishmonger 0
3799549 1957781 1957781 defendant Spencer Richard merchant 585951 585951 Spencer, Richard, of Winchester, merchant 0
3799550 1957781 1957781 defendant Barford William mercer 631269 631269 Barford, William, of Whytecherche, Bucks, mercer 1
3799551 1957781 1957781 defendant Potter alias Trought William maltman 631270 631270 Potter alias Trought, William, of Welwen, Herts, maltman 2
3799552 1957781 1957781 defendant Lamkyn William yeoman 587764 587764 Lamkyn, William, of Wadeherst, Sussex, yeoman 3
3799553 1957781 1957781 defendant Antony Robert husbandman 631271 631271 Antony, Robert, of Whatley, Oxon, husbandman 4
3799554 1957781 1957781 defendant Knyghtlay John husbandman 603696 603696 Knyghtlay, John, of Dunstabyll, Beds, husbandman 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 13.707ms