home / cp40x

names

9 rows where case_id = 2406313

✎ 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
5167859 2406313 2406313 plaintiff Curson John (legal representative) 755389 755389 Curson, John, of Bishop's Lenn, executor of Walter Curson, of Bishop's Lenn, merchant, executor of 0
5167860 2406313 2406313 plaintiff Codyngton John     (Codyngton, John 1
5167861 2406313 2406313 plaintiff Laystok Robert     Laystok, Robert 2
5167862 2406313 2406313 defendant Curson Thomas gent 640089 640089 Curson, Thomas, of Tilney, gent 0
5167863 2406313 2406313 defendant Walpol William (legal representative) 739096 739096 Walpol, William, of Sharnborne, yeoman, executor of 1
5167864 2406313 2406313 defendant Walpoll John yeoman 611683 611683 Walpoll, John, of Sharnburn, yeoman 2
5167865 2406313 2406313 defendant Jamys Ralph chaplain 755389 755389 Jamys, Ralph, of Bishop's Lenn, chaplain 3
5167866 2406313 2406313 defendant Halton John baker 755389 755389 Halton, John, of Bishop's Lenn, baker 4
5167867 2406313 2406313 defendant Troys alias Martyn Stephen husbandman 855505 855505 Troys alias Martyn, Stephen, of Sutton, in the Isle of Ely, Cambs, husbandman 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 17.415ms