home / cp40x

names

9 rows where case_id = 2401575

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5151453 2401575 2401575 plaintiff Grey Reginald esq   Grey, Reginald, esq 0
5151454 2401575 2401575 plaintiff Grey Robert esq   Grey, Robert, esq 1
5151455 2401575 2401575 plaintiff Worseley John     Worseley, John 2
5151456 2401575 2401575 defendant Cayno John husbandman 607776 607776 Cayno, John, of Goldyngton, husbandman 0
5151457 2401575 2401575 defendant Rammysboton Robert yeoman 759080 759080 Rammysboton, Robert, of Ravenesden, yeoman 1
5151458 2401575 2401575 defendant Baker John husbandman 759080 759080 Baker, John, of Ravenesden, husbandman 2
5151459 2401575 2401575 defendant Kent John husbandman 759080 759080 Kent, John, of Ravenesden, husbandman 3
5151460 2401575 2401575 defendant Potter John   759080 759080 Potter, John, of Ravenesden, wright 4
5151461 2401575 2401575 defendant Bermycher Thomas husbandman 759080 759080 Bermycher, Thomas, of Ravenesden, husbandman 5

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.913ms