home / cp40x

names

8 rows where case_id = 2228105

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4589558 2228105 2228105 plaintiff Lobenham Ralph draper 585869 585869 Lobenham, Ralph, of London, draper 0
4589559 2228105 2228105 defendant Clippord William     Clippord, William 0
4589560 2228105 2228105 defendant Sandys Walter knight   Sandys, Walter, knight 1
4589561 2228105 2228105 defendant Evias John   590032 590032 Evias, John, of Kent 2
4589562 2228105 2228105 defendant Burgeys John   589150 589150 Burgeys, John, of Maldon, Essex 3
4589563 2228105 2228105 defendant Wolf John   636100 636100 Wolf, John, of Sussex 4
4589564 2228105 2228105 defendant Style John chaplain 772509 772509 Style, John, of Makeseye, Nhants, chaplain 5
4589565 2228105 2228105 defendant Hert William formerly under sheriff of Warwickshire   Hert, William, formerly under sheriff of Warwickshire 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 14.417ms