home / cp40x

names

7 rows where case_id = 2043519

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4053042 2043519 2043519 plaintiff Alport Thomas (legal representative)   Alport, Thomas, administratrix of 0
4053043 2043519 2043519 plaintiff Alport Margaret widow   Alport, Margaret, widow 1
4053044 2043519 2043519 defendant Wade John yeoman 597815 597815 Wade, John, of Edyall, yeoman 0
4053045 2043519 2043519 defendant Fletcher John yeoman 596180 596180 Fletcher, John, of Harleston, Lincs, yeoman 1
4053046 2043519 2043519 defendant Underhyll Richard husbandman 683242 683242 Underhyll, Richard, of Bonyll, husbandman 2
4053047 2043519 2043519 defendant Coxe John roper 662635 662635 Coxe, John, of Belbroughton, Worcs, roper 3
4053048 2043519 2043519 defendant Chaunte William roper 600399 600399 Chaunte, William, of Belbroughton, roper 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 14.36ms