home / cp40x

names

6 rows where case_id = 1922426

✎ 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
3688047 1922426 1922426 plaintiff Coterell William drover 588794 588794 Coterell, William, of Preston, March of Wales, drover 0
3688048 1922426 1922426 defendant Bouthe Lawrence husbandman 591820 591820 Bouthe, Lawrence, of Harlowe, husbandman 0
3688049 1922426 1922426 defendant Tyesse John husbandman 600424 600424 Tyesse, John, of Latton, husbandman 1
3688050 1922426 1922426 defendant Sprynger William husbandman 611367 611367 Sprynger, William, of Northwele Basset, husbandman 2
3688051 1922426 1922426 defendant Baker Thomas, senior husbandman 600424 600424 Baker, Thomas, senior, of Latton, husbandman 3
3688052 1922426 1922426 defendant Borton Thomas brewer 588033 588033 Borton, Thomas, of Eppyng, brewer 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 15.835ms