home / cp40x

names

7 rows where case_id = 2302435

✎ 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
4820351 2302435 2302435 plaintiff Pysale John esq, administrators of   Pysale, John, esq, administrators of 0
4820352 2302435 2302435 plaintiff Goode William     (Goode, William 1
4820353 2302435 2302435 plaintiff Pysale Beatrix formerly wife of John   Pysale, Beatrix, formerly wife of John 2
4820354 2302435 2302435 defendant Pertre Thomas yeoman 588489 588489 Pertre, Thomas, of Melton, yeoman 0
4820355 2302435 2302435 defendant Stebbyng John butcher 596605 596605 Stebbyng, John, of Parham, butcher 1
4820356 2302435 2302435 defendant Bakere Robert baker 586785 586785 Bakere, Robert, of Blyburgh, baker 2
4820357 2302435 2302435 defendant Smyth John yeoman 586134 586134 Smyth, John, of Ipswich, yeoman 3

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.641ms