home / cp40x

names

8 rows where case_id = 2473842

✎ 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
5395660 2473842 2473842 plaintiff Baker John   586111 586111 Baker, John, of Lamport, on his own account 0
5395661 2473842 2473842 defendant Broke Robert merchant 597563 597563 Broke, Robert, of Manytre, Essex, merchant 0
5395662 2473842 2473842 defendant Broke Richard merchant 585869 585869 Broke, Richard, of London, merchant 1
5395663 2473842 2473842 defendant Broke William beer brewer 597375 597375 Broke, William, of Manytre, beer brewer 2
5395664 2473842 2473842 defendant Cole Richard   882751 882751 Cole, Richard, of Sholton, Kent 3
5395665 2473842 2473842 defendant Wake John   585933 585933 Wake, John, of Great Yarmouth, administrators of 4
5395666 2473842 2473842 defendant Smyth William tanner 585936 585936 (Smyth, William, of Norwich, tanner 5
5395667 2473842 2473842 defendant Smyth Katherine     Katherine, his wife 6

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