home / cp40x

names

6 rows where case_id = 2375403

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5062704 2375403 2375403 plaintiff Hoigges Robert     Hoigges, Robert 0
5062705 2375403 2375403 defendant Cassy John esq 829649 829649 Cassy, John, of Wyghtfeld, Glos, esq 0
5062706 2375403 2375403 defendant mainpernors Throgmerton John gent 602195 602195 with mainpernors Throgmerton, John, of Tewkesbury, Glos, gent 1
5062707 2375403 2375403 defendant Throgmerton Thomas gent 841912 841912 Throgmerton, Thomas, of Worcerster, gent 2
5062708 2375403 2375403 defendant Ellond William gent 585932 585932 Ellond, William, of Kingston on Hull, gent 3
5062709 2375403 2375403 defendant Mill Hugh gent 595461 595461 Mill, Hugh, of Harscombe, Glos, gent 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.072ms