home / cp40x

names

6 rows where case_id = 2498522

✎ 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
5478250 2498522 2498522 plaintiff Benale or Bevale John     Benale or Bevale, John 0
5478251 2498522 2498522 defendant Lakforth William pewterer 586180 586180 Lakforth, William, of Bury St Edmunds, pewterer 0
5478252 2498522 2498522 defendant Lakforth Guy pewterer 597809 597809 Lakforth, Guy, of Wolpet, pewterer 1
5478253 2498522 2498522 defendant Alerton Hugh husbandman 817453 817453 Alerton, Hugh, of Sheland, husbandman 2
5478254 2498522 2498522 defendant Denys William laborer 587819 587819 Denys, William, of Wederden, laborer 3
5478255 2498522 2498522 defendant Bolle John yeoman 586589 586589 Bolle, John, of Gyslyngham, yeoman 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 12.787ms