home / cp40x

names

7 rows where case_id = 1908252

✎ 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
3642972 1908252 1908252 plaintiff Colt John esq   Colt, John, esq 0
3642973 1908252 1908252 defendant Browne John yeoman 589715 589715 Browne, John, of Chesthunt, Herts, yeoman 0
3642974 1908252 1908252 defendant Bosell John yeoman 587629 587629 Bosell, John, of Chesthunt, yeoman 1
3642975 1908252 1908252 defendant Thomas John smith 587629 587629 Thomas, John, of Chesthunt, smith 2
3642976 1908252 1908252 defendant Scott John laborer 587629 587629 Scott, John, of Chesthunt, laborer 3
3642977 1908252 1908252 defendant Herd John yeoman 587629 587629 Herd, John, of Chesthunt, yeoman 4
3642978 1908252 1908252 defendant Hale John, junior yeoman 600885 600885 Hale, John, junior, of Waltamstowe, yeoman 5

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