home / cp40x

names

7 rows where case_id = 2295285

✎ 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
4797161 2295285 2295285 plaintiff Smyth John   587058 587058 Smyth, John, of Sutton 0
4797162 2295285 2295285 defendant Bocher Robert butcher 597337 597337 Bocher, Robert, of Potton, butcher 0
4797163 2295285 2295285 defendant Smyth Thomas husbandman 599082 599082 Smyth, Thomas, of Tadlowe, Cams, husbandman 1
4797164 2295285 2295285 defendant Goddesson William husbandman 594117 594117 Goddesson, William, of Tadlowe, husbandman 2
4797165 2295285 2295285 defendant Adekyn Thomas husbandman 644485 644485 Adekyn, Thomas, of Harleston, Cams, husbandman 3
4797166 2295285 2295285 defendant Wyse William husbandman 597338 597338 Wyse, William, of Henlowe, husbandman 4
4797167 2295285 2295285 defendant Banghull or Baughull John husbandman 644485 644485 Banghull or Baughull, John, of Harleston, Cams, husbandman 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 16.794ms