home / cp40x

names

6 rows where case_id = 2323504

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4889473 2323504 2323504 plaintiff Purchace Henry grocer 585869 585869 Purchace, Henry, of London, grocer 0
4889474 2323504 2323504 defendant Kyrkeby John gent 652745 652745 Kyrkeby, John, of Parva Hadham, Herts, gent 0
4889475 2323504 2323504 defendant Dawe John barber 677471 677471 Dawe, John, of Magna Hadham, Herts, barber 1
4889476 2323504 2323504 defendant Selvestre Thomas husbandman 817851 817851 Selvestre, Thomas, of Sabrysford, Herts, husbandman 2
4889477 2323504 2323504 defendant Goos John chandler 817852 817852 Goos, John, of Shorteford, Herts, chandler 3
4889478 2323504 2323504 defendant Moughter Robert clerk 588796 588796 Moughter, Robert, of Stenyng, Sussex, clerk 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.142ms