home / cp40x

names

8 rows where case_id = 2270447

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4716393 2270447 2270447 plaintiff Whytyngton Richard     Whytyngton, Richard 0
4716394 2270447 2270447 defendant Derham Edmund writer 588180 588180 Derham, Edmund, of Aylesbury, Bucks, writer 0
4716395 2270447 2270447 defendant Gurnay Richard   593282 593282 Gurnay, Richard, of Drayton, corn monger 1
4716396 2270447 2270447 defendant Gurnay Simon husbandman 790029 790029 Gurnay, Simon, of the Mershe by Aylesbury, husbandman 2
4716397 2270447 2270447 defendant Donne Edmund husbandman 626697 626697 Donne, Edmund, of Kymbell, husbandman 3
4716398 2270447 2270447 defendant Colet Henry fishmonger 591196 591196 Colet, Henry, of Wendover, fishmonger 4
4716399 2270447 2270447 defendant Colet Mathew shoemaker 626697 626697 Colet, Mathew, of Kymbell, shoemaker 5
4716400 2270447 2270447 defendant Grove Ralph carpenter 790030 790030 Grove, Ralph, of Cholwesbury, carpenter 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.38ms