home / cp40x

names

6 rows where case_id = 1948135

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3769540 1948135 1948135 plaintiff Robson Geoffrey     Robson, Geoffrey 0
3769541 1948135 1948135 defendant Galont or Galout William tiler 587882 587882 Galont or Galout, William, of Lavenham, tiler 0
3769542 1948135 1948135 defendant Toode William carpenter 587882 587882 Toode, William, of Lavenham, carpenter 1
3769543 1948135 1948135 defendant Deyneys James dyer 587882 587882 Deyneys, James, of Lavenham, dyer 2
3769544 1948135 1948135 defendant Huntyng Thomas carpenter 587004 587004 Huntyng, Thomas, of Preston, carpenter 3
3769545 1948135 1948135 defendant Grey Richard carpenter 587004 587004 Grey, Richard, of Preston, carpenter 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 13.895ms