home / cp40x

names

6 rows where case_id = 1947934

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3768925 1947934 1947934 plaintiff Preston Lawrence     Preston, Lawrence 0
3768926 1947934 1947934 defendant Cotton Thomas mercer 586435 586435 Cotton, Thomas, of Leicester, mercer 0
3768927 1947934 1947934 defendant Robson George (legal representative)   Robson, George, executor of 1
3768928 1947934 1947934 defendant Putnam Robert fishmonger 585869 585869 Putnam, Robert, of London, fishmonger 2
3768929 1947934 1947934 defendant Ratlyff Christopher clerk   Ratlyff, Christopher, clerk, executor of 3
3768930 1947934 1947934 defendant Ferryngton James gent 626244 626244 Ferryngton, James, of Stoneley, Warks, gent 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 16.923ms