home / cp40x

names

8 rows where case_id = 1912523

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3657221 1912523 1912523 plaintiff Courteney William esq   Courteney, William, esq 0
3657222 1912523 1912523 defendant Houghton William husbandman 586764 586764 Houghton, William, of Morton Hampstede, husbandman 0
3657223 1912523 1912523 defendant Bremelcombe Richard husbandman 586764 586764 Bremelcombe, Richard, of Morton Hampstede, husbandman 1
3657224 1912523 1912523 defendant Seynthill William husbandman 604210 604210 Seynthill, William, of Seynthill, husbandman 2
3657225 1912523 1912523 defendant Hegges William husbandman 593018 593018 Hegges, William, of Morton Hampsted, husbandman 3
3657226 1912523 1912523 defendant Bremelcombe John husbandman 593018 593018 Bremelcombe, John, of Morton Hampsted, husbandman 4
3657227 1912523 1912523 defendant Ilberd Thomas husbandman 593018 593018 Ilberd, Thomas, of Morton Hampsted, husbandman 5
3657228 1912523 1912523 defendant Kellegh William husbandman 594509 594509 Kellegh, William, of Brydford, husbandman 6

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