home / cp40x

names

8 rows where case_id = 2337520

✎ 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
4935572 2337520 2337520 plaintiff Berecroft Robert (legal representative) 586901 586901 Berecroft, Robert, of Nottingham, merchant, executors of 0
4935573 2337520 2337520 plaintiff Bewefrey Henry     (Bewefrey, Henry 1
4935574 2337520 2337520 plaintiff Stokkes Thomas     Stokkes, Thomas 2
4935575 2337520 2337520 defendant Haley Richard prior of Thurgarton Priory   Haley, Richard, prior of Thurgarton Priory 0
4935576 2337520 2337520 defendant Welbek Richard gent 824462 824462 Welbek, Richard, of Compden, Derbs, gent 1
4935577 2337520 2337520 defendant Plummer John yeoman 586901 586901 Plummer, John, of Nottingham, yeoman 2
4935578 2337520 2337520 defendant Sherman John husbandman 607566 607566 Sherman, John, of Bonyngton, husbandman 3
4935579 2337520 2337520 defendant Newesam Thomas spurrier 586901 586901 Newesam, Thomas, of Nottingham, spurrier 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 15.522ms