home / cp40x

names

6 rows where case_id = 1932450

✎ 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
3719778 1932450 1932450 plaintiff Hatton Hugh (legal representative) 617250 617250 Hatton, Hugh, of London St Sepulchre, brewer, executors of 0
3719779 1932450 1932450 plaintiff Martyn John     (Martyn, John 1
3719780 1932450 1932450 defendant Chelton John yeoman 587053 587053 Chelton, John, of Sutton, Lincs, yeoman 0
3719781 1932450 1932450 defendant Calowe Thomas yeoman 596621 596621 Calowe, Thomas, of Holbych, Lincs, yeoman 1
3719782 1932450 1932450 defendant Larke Robert yeoman 606750 606750 Larke, Robert, of Holbyche, yeoman 2
3719783 1932450 1932450 defendant Howell Robert yeoman 617490 617490 Howell, Robert, of Holbych, yeoman 3

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