home / cp40x

names

7 rows where case_id = 2309125

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4842306 2309125 2309125 plaintiff (not given)   abbot of Leicester   Leicester, abbot of 0
4842307 2309125 2309125 defendant Somerd John husbandman 650861 650861 Somerd, John, of Enyngton, husbandman 0
4842308 2309125 2309125 defendant Syberd John husbandman 586532 586532 Syberd, John, of Evyngton, husbandman 1
4842309 2309125 2309125 defendant Cokke Richard husbandman 772343 772343 Cokke, Richard, of Segrave, husbandman 2
4842310 2309125 2309125 defendant Broun Thomas husbandman 601980 601980 Broun, Thomas, of Hemyngton, husbandman 3
4842311 2309125 2309125 defendant Hyns Gilbert yeoman 586435 586435 Hyns, Gilbert, of Leicester, yeoman 4
4842312 2309125 2309125 defendant Parker John husbandman 799018 799018 Parker, John, of Erlesthorp, husbandman 5

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