home / cp40x

names

8 rows where case_id = 2302726

✎ 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
4821244 2302726 2302726 plaintiff Rokes Thomas esq   Rokes, Thomas, esq, on his own account 0
4821245 2302726 2302726 defendant Pole John tailor 586254 586254 Pole, John, of Southampton, tailor 0
4821246 2302726 2302726 defendant Feteplace Walter draper 586254 586254 Feteplace, Walter, of Southampton, draper 1
4821247 2302726 2302726 defendant Flemmyng John gent 586254 586254 Flemmyng, John, of Southampton, gent 2
4821248 2302726 2302726 defendant Abbot John merchant 807356 807356 Abbot, John, of Weymouth, Dors, merchant 3
4821249 2302726 2302726 defendant Large Bertram merchant 611223 611223 Large, Bertram, of Weymouth, merchant 4
4821250 2302726 2302726 defendant Giles Richard tailor 726596 726596 Giles, Richard, of Ilminster, Soms, tailor 5
4821251 2302726 2302726 defendant Wether Walter Soms, laborer   with Wether Walter, of Taunton, Soms, laborer 6

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