home / cp40x

names

6 rows where case_id = 2391647

✎ 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
5117845 2391647 2391647 plaintiff Pygot Edmund skinner 585869 585869 Pygot, Edmund, of London, skinner 0
5117846 2391647 2391647 defendant Greve- Robert esq 585990 585990 Greve-, Robert, of Banbury, Oxon, esq 0
5117847 2391647 2391647 defendant Fy- William husbandman 587301 587301 Fy-, William, of Dunstable, Beds, husbandman 1
5117848 2391647 2391647 defendant Dobbys Stephen   586360 586360 Dobbys, Stephen, of Chelmesford, Essex 2
5117849 2391647 2391647 defendant Cottysbroke John skinner 586848 586848 Cottysbroke, John, of Northampton, skinner 3
5117850 2391647 2391647 defendant Asshefeld John gent 593660 593660 Asshefeld, John, of Huntyngdon, Hunts, gent 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.233ms