home / cp40x

names

7 rows where case_id = 1932221

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3719007 1932221 1932221 plaintiff Grene Joan widow   Grene, Joan, widow, executrix of Grene, Robert, executor of 0
3719008 1932221 1932221 plaintiff Grene John     Grene, John 1
3719009 1932221 1932221 defendant Sharpe Robert mercer 617345 617345 Sharpe, Robert, of Daford, Rutland, mercer 0
3719010 1932221 1932221 defendant Townesend Robert clerk 617346 617346 Townesend, Robert, of Sutton, Derbs, clerk 1
3719011 1932221 1932221 defendant Yorke Richard mercer 617347 617347 Yorke, Richard, of Lamporte, Nhants, mercer 2
3719012 1932221 1932221 defendant Rand Richard mercer 586035 586035 Rand, Richard, of Buckingham, mercer 3
3719013 1932221 1932221 defendant Skynner John mercer 617348 617348 Skynner, John, of Alcotter, Warks, mercer 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.888ms