home / cp40x

names

9 rows where case_id = 1992551

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3906748 1992551 1992551 plaintiff Morgan John Philip     Morgan, John Philip 0
3906749 1992551 1992551 defendant ap Yeroth Thomas David yeoman 641901 641901 ap Yeroth, Thomas David, of Uske, yeoman 0
3906750 1992551 1992551 defendant Yeroth Gllm Thomas yeoman 641901 641901 Yeroth, Gllm Thomas, of Uske, yeoman 1
3906751 1992551 1992551 defendant Rychard Henry John laborer 641901 641901 Rychard, Henry John, of Uske, laborer 2
3906752 1992551 1992551 defendant Lauraunce John laborer 641901 641901 Lauraunce, John, of Uske, laborer 3
3906753 1992551 1992551 defendant ap Madok Watkyn Thomas tailor 649442 649442 ap Madok, Watkyn Thomas, of Aburgevenny, tailor 4
3906754 1992551 1992551 defendant Appowell David David yeoman 649443 649443 Appowell, David David, of Llannarche, yeoman 5
3906755 1992551 1992551 defendant Appowell Philip David yeoman 649444 649444 Appowell, Philip David, of Raglen, yeoman 6
3906756 1992551 1992551 defendant ap Jeyn Thomas yeoman 649445 649445 ap Jeyn, Thomas, of Tynterne, yeoman 7

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