home / cp40x

names

6 rows where case_id = 2428388

✎ 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
5243824 2428388 2428388 plaintiff Palmer Robert     Palmer, Robert 0
5243825 2428388 2428388 defendant Fethell John yeoman 587172 587172 Fethell, John, of Est Derham, yeoman 0
5243826 2428388 2428388 defendant Drake Richard barker 585936 585936 Drake, Richard, of Norwich, barker 1
5243827 2428388 2428388 defendant Jonnesson William yeoman 593572 593572 Jonnesson, William, of Dylham, yeoman 2
5243828 2428388 2428388 defendant Broun John yeoman 586456 586456 Broun, John, of Hornyngtoft, yeoman 3
5243829 2428388 2428388 defendant Berysfot Peter yeoman 626540 626540 Berysfot, Peter, of North Elmeham, yeoman 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 10.427ms