home / cp40x

names

6 rows where case_id = 2325807

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4897276 2325807 2325807 plaintiff Maltby William mercer 585869 585869 Maltby, William, of London, mercer 0
4897277 2325807 2325807 defendant Somercotes John gent 590201 590201 Somercotes, John, of Berkyng, Essex, gent 0
4897278 2325807 2325807 defendant Asshewell John draper 781414 781414 Asshewell, John, of Bekyngton, Wilts, draper 1
4897279 2325807 2325807 defendant Vyvyan Adam gent 807323 807323 Vyvyan, Adam, of Trewithia, Cornw, gent 2
4897280 2325807 2325807 defendant Gawent John fisher 585976 585976 Gawent, John, of Cirencester, Glos, fisher 3
4897281 2325807 2325807 defendant Cabull John butcher 586842 586842 Cabull, John, of Cirencester, butcher 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 12.006ms