home / cp40x

names

6 rows where case_id = 2026918

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4005993 2026918 2026918 plaintiff Larder John     Larder, John 0
4005994 2026918 2026918 defendant Knevet William yeoman 672525 672525 Knevet, William, of Wootton Bassett, yeoman 0
4005995 2026918 2026918 defendant Pytcher William yeoman 591089 591089 Pytcher, William, of Malmesbury, yeoman 1
4005996 2026918 2026918 defendant Pytcher Robert yeoman 591089 591089 Pytcher, Robert, of Malmesbury, yeoman 2
4005997 2026918 2026918 defendant Smyth Thomas yeoman 588233 588233 Smyth, Thomas, of Charleton, yeoman;Maye, Roger, of Wotton Bassett, yeoman 3
4005998 2026918 2026918 defendant Webb Richard yeoman 588233 588233 Webb, Richard, of Charleton, yeoman 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.172ms