home / cp40x

names

6 rows where case_id = 2468161

✎ 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
5376229 2468161 2468161 plaintiff Saperton Thomas     Saperton, Thomas 0
5376230 2468161 2468161 defendant Alsop Humphrey gent 879927 879927 Alsop, Humphrey, of Coldeyton, gent 0
5376231 2468161 2468161 defendant Harrsyon Roland yeoman 588089 588089 Harrsyon, Roland, of Bakewell, yeoman 1
5376232 2468161 2468161 defendant Botton George husbandman 594736 594736 Botton, George, of Dukmanton, husbandman 2
5376233 2468161 2468161 defendant Heywarde Thomas chaplain 588089 588089 Heywarde, Thomas, of Bakewell, chaplain 3
5376234 2468161 2468161 defendant Dale Thomas husbandman 594785 594785 Dale, Thomas, of Assheford, husbandman 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 16.195ms