home / cp40x

names

6 rows where case_id = 2525437

✎ 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
5568839 2525437 2525437 plaintiff Gardener William grocer 585869 585869 Gardener, William, of London, grocer 0
5568840 2525437 2525437 defendant Heyms or Heynis Ralph chapman 901084 901084 Heyms or Heynis, Ralph, of Hosmynden, Kent, chapman 0
5568841 2525437 2525437 defendant Benge John gent 689240 689240 Benge, John, of Wadhurste, Sussex, gent 1
5568842 2525437 2525437 defendant Chepe Henry chapman 609576 609576 Chepe, Henry, of Chechester, Sussex, chapman 2
5568843 2525437 2525437 defendant Danyell Thomas chapman 901085 901085 Danyell, Thomas, of Bolton under Ble, Kent, chapman 3
5568844 2525437 2525437 defendant Mason Ralph yeoman 698552 698552 Mason, Ralph, of Chalton, Hants, yeoman 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 15.129ms