home / cp40x

names

7 rows where case_id = 1915236

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3665750 1915236 1915236 plaintiff Sutton John (legal representative) 606585 606585 Sutton, John, of Dontton, Bucks, executors of 0
3665751 1915236 1915236 plaintiff Sutton Agnes widow and formerly wife of John   (Sutton, Agnes, widow and formerly wife of John 1
3665752 1915236 1915236 plaintiff Colles Richard   593455 593455 Colles, Richard, of Whitchurch 2
3665753 1915236 1915236 plaintiff Dontton John, junior     Dontton, John, junior 3
3665754 1915236 1915236 defendant Roffe or Rosse Edmund husbandman 591120 591120 Roffe or Rosse, Edmund, of Hempsted, Herts, husbandman 0
3665755 1915236 1915236 defendant Hache William husbandman 590610 590610 Hache, William, of Hempsted, husbandman 1
3665756 1915236 1915236 defendant Stappe William husbandman 598387 598387 Stappe, William, of Stanbrige, husbandman 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 13.432ms