home / cp40x

names

8 rows where case_id = 1979602

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3868204 1979602 1979602 plaintiff Staveley Thomas     Staveley, Thomas 0
3868205 1979602 1979602 defendant Vaus Richard yeoman 616393 616393 Vaus, Richard, of Raskell, yeoman 0
3868206 1979602 1979602 defendant Plaforth John yeoman 600627 600627 Plaforth, John, of Tolthorp, yeoman 1
3868207 1979602 1979602 defendant Coke John yeoman 642477 642477 Coke, John, of Awns, yeoman 2
3868208 1979602 1979602 defendant Towne John yeoman 616393 616393 Towne, John, of Raskell, yeoman 3
3868209 1979602 1979602 defendant Mawton John yeoman 616393 616393 Mawton, John, of Raskell, yeoman 4
3868210 1979602 1979602 defendant Banke William yeoman 620202 620202 Banke, William, of Heley Parke, yeoman 5
3868211 1979602 1979602 defendant Bell Richard yeoman 642478 642478 Bell, Richard, of Fadyngton, yeoman 6

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