home / cp40x

names

9 rows where case_id = 2442886

✎ 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
5292783 2442886 2442886 plaintiff Saynton John     Saynton, John 0
5292784 2442886 2442886 defendant Foliambe William gent 785089 785089 Foliambe, William, of Hemmeswell, gent 0
5292785 2442886 2442886 defendant Denman Thomas esq 867687 867687 Denman, Thomas, of Ortsall, Notts, esq 1
5292786 2442886 2442886 defendant Thornhyll Roger yeoman 867688 867688 Thornhyll, Roger, of Bryngley, Notts, yeoman 2
5292787 2442886 2442886 defendant Pygge Thomas gent 586286 586286 Pygge, Thomas, of Boston, gent 3
5292788 2442886 2442886 defendant Haxley Robert gent 675074 675074 Haxley, Robert, of Grymesthorp, gent 4
5292789 2442886 2442886 defendant Dalby John merchant 586901 586901 Dalby, John, of Nottingham, merchant 5
5292790 2442886 2442886 defendant Calverley Robert gent 586901 586901 Calverley, Robert, of Nottingham, gent 6
5292791 2442886 2442886 defendant Halton John yeoman 590061 590061 Halton, John, of Barton on Humber, yeoman 7

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