home / cp40x

names

7 rows where case_id = 1968742

✎ 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
3834546 1968742 1968742 plaintiff Nevyle John knight, Lord Latymer   Nevyle, John, knight, Lord Latymer 0
3834547 1968742 1968742 defendant Halle William yeoman 595543 595543 Halle, William, of Lastyngham, yeoman 0
3834548 1968742 1968742 defendant Halle Christopher yeoman 595543 595543 Halle, Christopher, of Lastyngham, yeoman 1
3834549 1968742 1968742 defendant Bayllys Richard yeoman 595543 595543 Bayllys, Richard, of Lastyngham, yeoman 2
3834550 1968742 1968742 defendant Haryson Thomas yeoman 595543 595543 Haryson, Thomas, of Lastyngham, yeoman 3
3834551 1968742 1968742 defendant Falconer John yeoman 595543 595543 Falconer, John, of Lastyngham, yeoman 4
3834552 1968742 1968742 defendant Bayly Richard turner 637117 637117 Bayly, Richard, of Rosdale, turner 5

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