home / cp40x

names

7 rows where case_id = 2299135

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4809460 2299135 2299135 plaintiff Drewe John clerk   Drewe, John, clerk, executor of 0
4809461 2299135 2299135 plaintiff Fox John     Fox, John 1
4809462 2299135 2299135 defendant Berney John esq 777893 777893 Berney, John, of Great Wychyngham, esq 0
4809463 2299135 2299135 defendant Marton Richard   590879 590879 Marton, Richard, of Skulthorp, cook 1
4809464 2299135 2299135 defendant Potter William fishman 590879 590879 Potter, William, of Skulthorp, fishman 2
4809465 2299135 2299135 defendant Pparker John husbandman 586570 586570 Pparker, John, of Weveton, husbandman 3
4809466 2299135 2299135 defendant Gebtum John yeoman 605757 605757 Gebtum, John, of Brandon Ferry, Suff, yeoman 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.239ms