home / cp40x

names

6 rows where case_id = 1866229

✎ 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
3595504 1866229 1866229 plaintiff Meres John     Meres, John 0
3595505 1866229 1866229 defendant Galowey Thomas yeoman 588767 588767 Galowey, Thomas, of Burn, yeoman 0
3595506 1866229 1866229 defendant Veysey Thomas of Corby yeoman   Veysey, Thomas of Corby, yeoman 1
3595507 1866229 1866229 defendant Kebbe William laborer 586397 586397 Kebbe, William, of Morton, laborer 2
3595508 1866229 1866229 defendant Knebbe John baker 586397 586397 Knebbe, John, of Morton, baker 3
3595509 1866229 1866229 defendant Curteys John weaver 586397 586397 Curteys, John, of Morton, weaver 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.929ms