home / cp40x

names

7 rows where case_id = 1909601

✎ 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
3647476 1909601 1909601 plaintiff Longevile John knight   Longevile, John, knight 0
3647477 1909601 1909601 defendant Swayne Philip yeoman 586845 586845 Swayne, Philip, of Stony Stratford, yeoman 0
3647478 1909601 1909601 defendant Chapell Thomas yeoman 586845 586845 Chapell, Thomas, of Stony Stratford, yeoman 1
3647479 1909601 1909601 defendant Forest Thomas shoemaker 586845 586845 Forest, Thomas, of Stony Stratford, shoemaker 2
3647480 1909601 1909601 defendant Barton Richard yeoman 586845 586845 Barton, Richard, of Stony Stratford, yeoman 3
3647481 1909601 1909601 defendant Grene Thomas pulter 586845 586845 Grene, Thomas, of Stony Stratford, pulter 4
3647482 1909601 1909601 defendant Derby John glover 586845 586845 Derby, John, of Stony Stratford, glover 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 14.688ms