home / cp40x

names

6 rows where case_id = 2400199

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5146771 2400199 2400199 plaintiff Castell Humphrey esq   Castell, Humphrey, esq 0
5146772 2400199 2400199 defendant Godebody Robert husbandman 852990 852990 Godebody, Robert, of Skerbek, husbandman 0
5146773 2400199 2400199 defendant Godebody William husbandman 619528 619528 Godebody, William, of Sybsey, husbandman 1
5146774 2400199 2400199 defendant Marham Walter husbandman 603490 603490 Marham, Walter, of Wyberton, husbandman 2
5146775 2400199 2400199 defendant Roper Thomas husbandman 852990 852990 Roper, Thomas, of Skerbek, husbandman 3
5146776 2400199 2400199 defendant Bocher John   852990 852990 Bocher, John, of Skerbek 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 7.609ms