home / cp40x

names

6 rows where case_id = 1930096

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3712073 1930096 1930096 plaintiff Walwyn William merchant tailor 585869 585869 Walwyn, William, of London, merchant tailor 0
3712074 1930096 1930096 defendant Rosemay Edmund   616026 616026 Rosemay, Edmund, of Wellyngborowghe, Nhants draper 0
3712075 1930096 1930096 defendant Ball James yeoman 616026 616026 Ball, James, of Wellyngborowghe, yeoman 1
3712076 1930096 1930096 defendant Ward John draper 586848 586848 Ward, John, of Northampton, draper 2
3712077 1930096 1930096 defendant Clyfton James draper 608898 608898 Clyfton, James, of Sleford, Lincs, draper 3
3712078 1930096 1930096 defendant Frognall Alexander esq 585874 585874 Frognall, Alexander, of Hatfeld Peverell, Essex, esq 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 18.253ms