home / cp40x

names

6 rows where case_id = 2271041

✎ 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
4718231 2271041 2271041 plaintiff Aylesham John grocer 585869 585869 Aylesham, John, of London, grocer 0
4718232 2271041 2271041 defendant Kymbell Nicholas fishmonger 585869 585869 Kymbell, Nicholas, of London, fishmonger 0
4718233 2271041 2271041 defendant Slache William husbandman 790381 790381 Slache, William, of Caxton, Cambs, husbandman 1
4718234 2271041 2271041 defendant Plegge Richard husbandman 780702 780702 Plegge, Richard, of Royston, Cambs, husbandman 2
4718235 2271041 2271041 defendant Porter William husbandman 586935 586935 Porter, William, of Royston, husbandman 3
4718236 2271041 2271041 defendant Stanefeld John husbandman 596241 596241 Stanefeld, John, of Taxstede, Essex, 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 16.283ms