home / cp40x

names

6 rows where case_id = 1929037

✎ 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
3708760 1929037 1929037 plaintiff Parker John (legal representative)   Parker, John, executors of 0
3708761 1929037 1929037 plaintiff Stoner Francis clerk   (Stoner, Francis, clerk 1
3708762 1929037 1929037 plaintiff Johnson Thomas clerk   Johnson, Thomas, clerk 2
3708763 1929037 1929037 defendant Taylour John draper 610712 610712 Taylour, John, of Esterkele, draper 0
3708764 1929037 1929037 defendant Shawe Gilbert yeoman 615409 615409 Shawe, Gilbert, of Kelecotys, yeoman 1
3708765 1929037 1929037 defendant Aswerby or Aslerby Roland draper 615410 615410 Aswerby or Aslerby, Roland, of Spylesby, draper 2

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