home / cp40x

names

6 rows where case_id = 2280986

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4751701 2280986 2280986 plaintiff Spriggy John   586848 586848 Spriggy, John, of Northampton, burgess & draper, on his own account 0
4751702 2280986 2280986 defendant Frere Richard yeoman 784011 784011 Frere, Richard, of Whyssheton, yeoman 0
4751703 2280986 2280986 defendant Sapcote Thomas husbandman 794246 794246 Sapcote, Thomas, of Shitelhanger, husbandman 1
4751704 2280986 2280986 defendant Sapcote Henry yeoman 794246 794246 Sapcote, Henry, of Shitelhanger, yeoman 2
4751705 2280986 2280986 defendant Daunport Geoffrey clerk 796572 796572 Daunport, Geoffrey, of Fynmere, Bucks, clerk 3
4751706 2280986 2280986 defendant Dranfeld John, senior butcher 588180 588180 Dranfeld, John, senior, of Aylesbury, Bucks, butcher 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.55ms