home / cp40x

names

7 rows where case_id = 2450815

✎ 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
5319126 2450815 2450815 plaintiff Hareys John     Hareys, John 0
5319127 2450815 2450815 defendant Selman William gent 588915 588915 Selman, William, of Plympton Earl, gent 0
5319128 2450815 2450815 defendant Rytte John gent 872871 872871 Rytte, John, of Doun Thomas, gent 1
5319129 2450815 2450815 defendant Molle Robert yeoman 592141 592141 Molle, Robert, of Shepewasshe, yeoman 2
5319130 2450815 2450815 defendant Rondell Thomas yeoman 586682 586682 Rondell, Thomas, of Mylton, yeoman 3
5319131 2450815 2450815 defendant Trewelove alias Purcer John yeoman 591145 591145 Trewelove alias Purcer, John, of Hungerford, Berks, yeoman 4
5319132 2450815 2450815 defendant Hayward Nicholas tailor 595915 595915 Hayward, Nicholas, of Hungerford, tailor 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 15.086ms