home / cp40x

names

6 rows where case_id = 2512261

✎ 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
5523785 2512261 2512261 plaintiff Gisbourne John prior of Merton Priory   Gisbourne, John, prior of Merton Priory 0
5523786 2512261 2512261 defendant Frelande Robert yeoman 594897 594897 Frelande, Robert, of Okham, yeoman 0
5523787 2512261 2512261 defendant Freland John yeoman 896262 896262 Freland, John, of Horyshyll, yeoman 1
5523788 2512261 2512261 defendant Gardener John husbandman 619581 619581 Gardener, John, of Magna Bokeham, husbandman 2
5523789 2512261 2512261 defendant Gardener Bartholomew husbandman 619581 619581 Gardener, Bartholomew, of Magna Bokeham, husbandman 3
5523790 2512261 2512261 defendant Gardener Richard butcher 619581 619581 Gardener, Richard, of Magna Bokeham, butcher 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 15.063ms