home / cp40x

names

6 rows where case_id = 2508361

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5511245 2508361 2508361 plaintiff Hyll Richard Bishop of London   Hyll, Richard, Bishop of London 0
5511246 2508361 2508361 defendant Ishere Morgan draper 585925 585925 Ishere, Morgan, of Bristol, draper 0
5511247 2508361 2508361 defendant Pole Thomas husbandman 593635 593635 Pole, Thomas, of Holwale, Soms, husbandman 1
5511248 2508361 2508361 defendant Perys John   894978 894978 Perys, John, of Wolsyngton, Soms, lime burner 2
5511249 2508361 2508361 defendant Sheregold Roger (legal representative) 894979 894979 Sheregold, Roger, of Borowe Chalke, Wilts, executors of 3
5511250 2508361 2508361 defendant Ranger John yeoman 894980 894980 (Ranger, John, of Crambourn, Dorset, yeoman 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 7.193ms