home / cp40x

names

6 rows where case_id = 2521614

✎ 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
5555511 2521614 2521614 plaintiff Joye Henry   586638 586638 Joye, Henry, of Southwold 0
5555512 2521614 2521614 plaintiff Bakon John   586361 586361 Bakon, John, of Harleston 1
5555513 2521614 2521614 plaintiff Edwarde Thomas yeoman 596214 596214 Edwarde, Thomas, of South Cove, yeoman 2
5555514 2521614 2521614 defendant Bacon William shipman 587760 587760 Bacon, William, of Eston Bavent, shipman 0
5555515 2521614 2521614 defendant Rednale Robert yeoman 587760 587760 Rednale, Robert, of Eston Bavent, yeoman 1
5555516 2521614 2521614 defendant Hankyn or Haukyn Robert yeoman 587760 587760 Hankyn or Haukyn, Robert, of Eston Bavent, yeoman 2

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