home / cp40x

names

6 rows where case_id = 2456831

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5339186 2456831 2456831 plaintiff Markham Robert knight, sheriff of Lincs   Markham, Robert, knight, sheriff of Lincs 0
5339187 2456831 2456831 defendant Sybsey William yeoman 586286 586286 Sybsey, William, of Boston, yeoman 0
5339188 2456831 2456831 defendant Laken Richard esq 875180 875180 Laken, Richard, of Derby juxta Burton Stather, esq 1
5339189 2456831 2456831 defendant Allech Richard gent 592846 592846 Allech, Richard, of Wygtoft, gent 2
5339190 2456831 2456831 defendant Cordewayne William husbandman 623950 623950 Cordewayne, William, of Laceby, husbandman 3
5339191 2456831 2456831 defendant Bonde Robert vicar of Wygtoft   Bonde, Robert, vicar of Wygtoft 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 6.956ms