home / cp40x

names

9 rows where case_id = 2077735

✎ 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
4148894 2077735 2077735 plaintiff Earle Martin attorney   Earle, Martin, attorney 0
4148895 2077735 2077735 defendant Haynton Thomas husbandman 598065 598065 Haynton, Thomas, of Panton, husbandman 0
4148896 2077735 2077735 defendant Howe William gent 593152 593152 Howe, William, of Rowston, gent 1
4148897 2077735 2077735 defendant Kyngeston John gent 703667 703667 Kyngeston, John, of Thurlebye, gent 2
4148898 2077735 2077735 defendant Wytton Richard husbandman 697236 697236 Wytton, Richard, of Metheringham, husbandman 3
4148899 2077735 2077735 defendant Wytton James husbandman 703668 703668 Wytton, James, of Connyngsbye, husbandman 4
4148900 2077735 2077735 defendant Yorke George gent 663099 663099 Yorke, George, of Asshbye, gent 5
4148901 2077735 2077735 defendant Pottes Edward gent 607412 607412 Pottes, Edward, of South Kyme, gent 6
4148902 2077735 2077735 defendant Smythe William gent 590513 590513 Smythe, William, of Honyngton, gent 7

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