home / cp40x

names

7 rows where case_id = 1922433

✎ 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
3688074 1922433 1922433 plaintiff Courtenay Katherine Countess of Devon   Courtenay, Katherine, Countess of Devon 0
3688075 1922433 1922433 defendant Lymet Nicholas   586036 586036 Lymet, Nicholas, of Exeter, apothecary 0
3688076 1922433 1922433 defendant Howe John yeoman 586036 586036 Howe, John, of Exeter, yeoman 1
3688077 1922433 1922433 defendant Andrewe John yeoman 586036 586036 Andrewe, John, of Exeter, yeoman 2
3688078 1922433 1922433 defendant Boyle Thomas merchant 598533 598533 Boyle, Thomas, of Opsham, merchant 3
3688079 1922433 1922433 defendant Chaplayne John yeoman 586036 586036 Chaplayne, John, of Exeter, yeoman 4
3688080 1922433 1922433 defendant Clevenger Robert yeoman 586036 586036 Clevenger, Robert, of Exeter, yeoman 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 5.855ms