home / cp40x

names

6 rows where case_id = 1938703

✎ 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
3739919 1938703 1938703 plaintiff Pylborough John (legal representative) 585869 585869 Pylborough, John, of London, vintner, executors of 0
3739920 1938703 1938703 plaintiff Saye Alice widow   (Saye, Alice, widow 1
3739921 1938703 1938703 plaintiff Pylborough John     Pylborough, John 2
3739922 1938703 1938703 defendant Grey Reginald gent 621165 621165 Grey, Reginald, of Kempton, Beds, gent 0
3739923 1938703 1938703 defendant Bolton William gent 604545 604545 Bolton, William, of Parham, Suff, gent 1
3739924 1938703 1938703 defendant Malyns Emma widow 621166 621166 Malyns, Emma, of Blownam, Beds, widow 2

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 9.882ms