home / cp40x

names

8 rows where case_id = 2317397

✎ 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
4869393 2317397 2317397 plaintiff Lamplogh John knight   Lamplogh, John, knight 0
4869394 2317397 2317397 defendant Scot Henry yeoman 756499 756499 Scot, Henry, of Caldebek, yeoman 0
4869395 2317397 2317397 defendant Scot Robert yeoman 756499 756499 Scot, Robert, of Caldebek, yeoman 1
4869396 2317397 2317397 defendant Abbot William yeoman 756499 756499 Abbot, William, of Caldebek, yeoman 2
4869397 2317397 2317397 defendant Calfehyrd John yeoman 763385 763385 Calfehyrd, John, of Lasyngby, yeoman 3
4869398 2317397 2317397 defendant Caldebek John yeoman 756499 756499 Caldebek, John, of Caldebek, yeoman 4
4869399 2317397 2317397 defendant Malton Henry yeoman 590660 590660 Malton, Henry, of Carlisle, yeoman 5
4869400 2317397 2317397 defendant Tomson John yeoman 784570 784570 Tomson, John, of Artreth, yeoman 6

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.839ms