home / cp40x

names

5 rows where case_id = 2057078

✎ 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
4091022 2057078 2057078 plaintiff Croun or Broun Edmund     Croun or Broun, Edmund 0
4091023 2057078 2057078 defendant Tuddenham or Tudnam Thomas butcher 611918 611918 Tuddenham or Tudnam, Thomas, of Holte, butcher 0
4091024 2057078 2057078 defendant Baker or Barker Thomas yeoman 615448 615448 Baker or Barker, Thomas, of Woodnorton, yeoman 1
4091025 2057078 2057078 defendant Storye John butcher 599835 599835 Storye, John, of Welle, butcher 2
4091026 2057078 2057078 defendant Stanes Thomas husbandman 631033 631033 Stanes, Thomas, of Est Dereham, husbandman 3

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 12.71ms