home / cp40x

names

6 rows where case_id = 2139971

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4328877 2139971 2139971 plaintiff Houghton Gregory (legal representative) 585936 585936 Houghton, Gregory, of Norwich, Alderman, executrix of 0
4328878 2139971 2139971 plaintiff Houghton Alice widow   Houghton, Alice, widow 1
4328879 2139971 2139971 defendant Knight alias Kett John yeoman 601387 601387 Knight alias Kett, John, of Moulton, yeoman 0
4328880 2139971 2139971 defendant Crosseld Henry grocer 625826 625826 Crosseld, Henry, of Matsall, grocer 1
4328881 2139971 2139971 defendant Bright Richard tailor 587913 587913 Bright, Richard, of Pulham, tailor 2
4328882 2139971 2139971 defendant Harold Andrew husbandman 617448 617448 Harold, Andrew, of Heynforth, husbandman 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.133ms