home / cp40x

names

7 rows where case_id = 1985127

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3884614 1985127 1985127 plaintiff Amorgan John     Amorgan, John 0
3884615 1985127 1985127 defendant Robyns John shoemaker 645237 645237 Robyns, John, of Thornburye, shoemaker 0
3884616 1985127 1985127 defendant Browne John laborer 645237 645237 Browne, John, of Thornburye, laborer 1
3884617 1985127 1985127 defendant Grafton Thomas, junior butcher 588755 588755 Grafton, Thomas, junior, of Teryngton, butcher 2
3884618 1985127 1985127 defendant Fowler Thomas (legal representative)   Fowler, Thomas, executrix of 3
3884619 1985127 1985127 defendant Fowler Joan widow 645238 645238 Fowler, Joan, of Thorneburye, widow 4
3884620 1985127 1985127 defendant Fawsett James yeoman 645239 645239 Fawsett, James, of Lanfordysgate, yeoman 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 13.959ms