home / cp40x

names

7 rows where case_id = 2458464

✎ 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
5344548 2458464 2458464 plaintiff Trygot Robert esq   Trygot, Robert, esq 0
5344549 2458464 2458464 plaintiff Wrayton Thomas chaplain   Wrayton, Thomas, chaplain 1
5344550 2458464 2458464 defendant Scardeburgh Richard yeoman 597485 597485 Scardeburgh, Richard, of Wyston, yeoman 0
5344551 2458464 2458464 defendant Batell Luke yeoman 773053 773053 Batell, Luke, of Dreweton, yeoman 1
5344552 2458464 2458464 defendant Brodgen John husbandman 616460 616460 Brodgen, John, of Brotherton, husbandman 2
5344553 2458464 2458464 defendant Coldcole William, junior husbandman 590063 590063 Coldcole, William, junior, of Carleton juxta Snayth, husbandman 3
5344554 2458464 2458464 defendant Savage John yeoman 594130 594130 Savage, John, of Estryk, 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 9.212ms