home / cp40x

names

6 rows where case_id = 1985035

✎ 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
3884351 1985035 1985035 plaintiff Wystowe John     Wystowe, John 0
3884352 1985035 1985035 defendant Wystowe Robert grocer 585869 585869 Wystowe, Robert, of London, grocer 0
3884353 1985035 1985035 defendant Tonley or Touley John husbandman 587089 587089 Tonley or Touley, John, of Burton on Trent, husbandman 1
3884354 1985035 1985035 defendant Lethom Thomas yeoman 645179 645179 Lethom, Thomas, of Hateley, yeoman 2
3884355 1985035 1985035 defendant Sheyperde Richard yeoman 590919 590919 Sheyperde, Richard, of Walsall, yeoman 3
3884356 1985035 1985035 defendant Broke Joan widow 636183 636183 Broke, Joan, of Waddesbury, 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.491ms