home / cp40x

names

5 rows where case_id = 2055034

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4085329 2055034 2055034 plaintiff Bennett Thomas gent   Bennett, Thomas, gent 0
4085330 2055034 2055034 defendant Staynesmore Richard yeoman 690506 690506 Staynesmore, Richard, of Barwicke St John, yeoman 0
4085331 2055034 2055034 defendant Sewett William yeoman 596906 596906 Sewett, William, of Newton, yeoman 1
4085332 2055034 2055034 defendant Dodmeade Edward tucker 830976 830976 Dodmeade, Edward, of Maiden Bradley, or of Westburie under the Plaine, tucker 2
4085333 2055034 2055034 defendant Zouche Edmund gent 643669 643669 Zouche, Edmund, of Anstie, or of Merre Parke, gent 3

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 13.49ms