home / cp40x

names

6 rows where case_id = 2475040

✎ 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
5399806 2475040 2475040 plaintiff Eynesbury William   621415 621415 Eynesbury, William, of St Neots, prior 0
5399807 2475040 2475040 defendant Lawe Thomas clerk 619284 619284 Lawe, Thomas, of Barnewell, Nhants, clerk 0
5399808 2475040 2475040 defendant Couper Thomas tailor 883306 883306 Couper, Thomas, of Kymbalton or Kymbolton, tailor 1
5399809 2475040 2475040 defendant Eysnam or Gysnam John yeoman 594218 594218 Eysnam or Gysnam, John, of St Neots, yeoman 2
5399810 2475040 2475040 defendant Sexten John yeoman 882395 882395 Sexten, John, of Yakelsey, yeoman 3
5399811 2475040 2475040 defendant Wale Robert gent 626770 626770 Wale, Robert, of Eton, Beds, gent 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 16.625ms