home / cp40x

names

6 rows where case_id = 2453155

✎ 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
5327005 2453155 2453155 plaintiff Thomas Walter     Thomas, Walter 0
5327006 2453155 2453155 defendant Stydolf Henry husbandman 764367 764367 Stydolf, Henry, of Tudele, husbandman 0
5327007 2453155 2453155 defendant Park William yeoman 592425 592425 Park, William, of Sutton Valens, yeoman 1
5327008 2453155 2453155 defendant Grengeman John yeoman 589972 589972 Grengeman, John, of Borden, yeoman 2
5327009 2453155 2453155 defendant Harry John yeoman 873764 873764 Harry, John, of Newenton juxta Sethyngbourn, yeoman 3
5327010 2453155 2453155 defendant Brewer Thomas husbandman 593490 593490 Brewer, Thomas, of West Farle, 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 15.389ms