home / cp40x

names

8 rows where case_id = 2387427

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5103418 2387427 2387427 plaintiff Briggeham William clerk   Briggeham, William, clerk 0
5103419 2387427 2387427 defendant Baldry Robert yeoman 590775 590775 Baldry, Robert, of Lopham, Norf, yeoman 0
5103420 2387427 2387427 defendant Lyng William yeoman 588637 588637 Lyng, William, of Lopham, yeoman 1
5103421 2387427 2387427 defendant Fuller Thomas (legal representative) 587414 587414 Fuller, Thomas, of Thetford, executors of 2
5103422 2387427 2387427 defendant Howys John fuller 846739 846739 (Howys, John, of Kilverston, Norf, fuller 3
5103423 2387427 2387427 defendant Wyneyeve Robert barker 587414 587414 Wyneyeve, Robert, of Thetford, barker 4
5103424 2387427 2387427 defendant Goos John (legal representative) 586306 586306 Goos, John, of Ixworth, gent, executor of 5
5103425 2387427 2387427 defendant Walter John parson of Dounham   Walter, John, parson of Dounham 6

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 16.845ms