home / cp40x

names

6 rows where case_id = 2195375

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4482984 2195375 2195375 plaintiff Munstede John draper 585869 585869 Munstede, John, of London, draper 0
4482985 2195375 2195375 plaintiff Litton Robert draper 585869 585869 Litton, Robert, of London, draper 1
4482986 2195375 2195375 defendant Strange Roger knight   Strange, Roger, knight 0
4482987 2195375 2195375 defendant Bysshoppisdale William   605984 605984 Bysshoppisdale, William, of Newcastle upon Tyne, formerly mayor 1
4482988 2195375 2195375 defendant Ughtred Thomas   586067 586067 Ughtred, Thomas, of York, knight 2
4482989 2195375 2195375 defendant Lucy William   586208 586208 Lucy, William, of Hereford, knight 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 11.74ms