home / cp40x

names

8 rows where case_id = 2118912

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4267966 2118912 2118912 plaintiff Horne William (legal representative)   Horne, William, executors of 0
4267967 2118912 2118912 plaintiff Horne Thomas     (Horne, Thomas 1
4267968 2118912 2118912 plaintiff Dickenson Daniel     Dickenson, Daniel 2
4267969 2118912 2118912 plaintiff Spratt Roger     Spratt, Roger 3
4267970 2118912 2118912 defendant Maddocke Simon merchant 586134 586134 Maddocke, Simon, of Ipswich, merchant 0
4267971 2118912 2118912 defendant Gale William clothier 586402 586402 Gale, William, of Hadley, Suff, clothier 1
4267972 2118912 2118912 defendant Abell William merchant 586134 586134 Abell, William, of Ipswich, merchant 2
4267973 2118912 2118912 defendant Huggan Richard clothier 726669 726669 Huggan, Richard, of Waldingfeild, Suff, clothier 3

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