home / cp40x

names

6 rows where case_id = 1864851

✎ 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
3591143 1864851 1864851 plaintiff Denys Walter knight   Denys, Walter, knight 0
3591144 1864851 1864851 defendant Petite William gent 587345 587345 Petite, William, of Evielede, Worcs, gent 0
3591145 1864851 1864851 defendant Shirwode William clerk 587346 587346 Shirwode, William, of Malmesbury, Wilts, clerk 1
3591146 1864851 1864851 defendant Gough John yeoman 586214 586214 Gough, John, of Webley, Herefs, yeoman 2
3591147 1864851 1864851 defendant Somerfeld Robert chapman 587251 587251 Somerfeld, Robert, of Marleburgh, Wilts, chapman 3
3591148 1864851 1864851 defendant Colymore Thomas husbandman 587347 587347 Colymore, Thomas, of Tedryngton, husbandman 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 14.444ms