home / cp40x

names

6 rows where case_id = 2257082

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4672630 2257082 2257082 plaintiff Cole John     Cole, John, on his own account 0
4672631 2257082 2257082 defendant (not given) Nicholas abbot of Nywenham, Devon   Nywenham, Devon, Nicholas, abbot of 0
4672632 2257082 2257082 defendant (not given) Leonard abbot of Clyff, Soms   Clyff, Soms, Leonard, abbot of 1
4672633 2257082 2257082 defendant Parys John merchant 638880 638880 Parys, John, of Dertemouth, Devon, merchant 2
4672634 2257082 2257082 defendant Worthy Richard butcher 599457 599457 Worthy, Richard, of Dartmouth, butcher 3
4672635 2257082 2257082 defendant Broun John husbandman 720617 720617 Broun, John, of Wyke, Soms, husbandman 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 17.756ms