home / cp40x

names

6 rows where case_id = 2366046

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5031417 2366046 2366046 plaintiff Ragon Robert grocer 585869 585869 Ragon, Robert, of London, grocer 0
5031418 2366046 2366046 defendant Estmond John weaver 815854 815854 Estmond, John, of Vyse, Wilts, weaver 0
5031419 2366046 2366046 defendant Bonley or Bouley Nicholas chapman 713477 713477 Bonley or Bouley, Nicholas, of Brisport, Dorset, chapman 1
5031420 2366046 2366046 defendant Henlove William clothman 649372 649372 Henlove, William, of Vyse, clothman 2
5031421 2366046 2366046 defendant Bonley or Bouley William (legal representative) 602298 602298 Bonley or Bouley, William, of Bridport, executrix of 3
5031422 2366046 2366046 defendant Bonley or Bouley Agnes widow 602298 602298 Bonley or Bouley, Agnes, of Bridport, widow 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 14.921ms