home / cp40x

names

7 rows where case_id = 1921916

✎ 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
3686447 1921916 1921916 plaintiff Brodhede John     Brodhede, John 0
3686448 1921916 1921916 defendant Baker William husbandman 598633 598633 Baker, William, of Brocton, husbandman 0
3686449 1921916 1921916 defendant Securston Thomas butcher 587516 587516 Securston, Thomas, of Stafford, butcher 1
3686450 1921916 1921916 defendant Marshall John (legal representative)   Marshall, John, executor of 2
3686451 1921916 1921916 defendant Marsshall William butcher 587516 587516 Marsshall, William, of Stafford, butcher 3
3686452 1921916 1921916 defendant Henne John (legal representative)   Henne, John, executrix of 4
3686453 1921916 1921916 defendant Henne Agnes widow 586406 586406 Henne, Agnes, of Hopton, widow 5

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