home / cp40x

names

6 rows where case_id = 1951024

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3778616 1951024 1951024 plaintiff Darcy Thomas knight, Lord Darcy   Darcy, Thomas, knight, Lord Darcy 0
3778617 1951024 1951024 defendant Badworthe William yeoman 627796 627796 Badworthe, William, of Shatbery, yeoman 0
3778618 1951024 1951024 defendant Moyn William yeoman 587384 587384 Moyn, William, of Lyston, yeoman 1
3778619 1951024 1951024 defendant Porter Walter husbandman 587384 587384 Porter, Walter, of Lyston, husbandman 2
3778620 1951024 1951024 defendant Geffrey John yeoman 627796 627796 Geffrey, John, of Shatbery, yeoman 3
3778621 1951024 1951024 defendant Morleys William yeoman 587384 587384 Morleys, William, of Lyston, 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 15.532ms