home / cp40x

names

6 rows where case_id = 1945663

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3761674 1945663 1945663 plaintiff Flaisheman Thomas     Flaisheman, Thomas 0
3761675 1945663 1945663 defendant Hele Baldwin husbandman 593862 593862 Hele, Baldwin, of Cornwode, husbandman 0
3761676 1945663 1945663 defendant Hanger Walter husbandman 593862 593862 Hanger, Walter, of Cornwode, husbandman 1
3761677 1945663 1945663 defendant Forster Richard husbandman 593862 593862 Forster, Richard, of Cornwode, husbandman 2
3761678 1945663 1945663 defendant Rede George   593862 593862 Rede, George, of Cornwode, groom 3
3761679 1945663 1945663 defendant Pedell Richard husbandman 593862 593862 Pedell, Richard, of Cornwode, husbandman 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 11.471ms