home / cp40x

names

7 rows where case_id = 2460559

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5351473 2460559 2460559 plaintiff Debenham Gilbert knight   Debenham, Gilbert, knight 0
5351474 2460559 2460559 defendant Grene John yeoman 586470 586470 Grene, John, of Colchester, yeoman 0
5351475 2460559 2460559 defendant Cole Thomas butcher 586470 586470 Cole, Thomas, of Colchester, butcher 1
5351476 2460559 2460559 defendant Derby William yeoman 586470 586470 Derby, William, of Colchester, yeoman 2
5351477 2460559 2460559 defendant Hanten or Hauten Robert yeoman 601693 601693 Hanten or Hauten, Robert, of Capell, yeoman 3
5351478 2460559 2460559 defendant Hanten or Hauten Sarah widow 601693 601693 Hanten or Hauten, Sarah, of Capell, widow 4
5351479 2460559 2460559 defendant Bailly John butxcher 586470 586470 Bailly, John, of Colchester, butxcher 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 14.938ms