home / cp40x

names

6 rows where case_id = 2537842

✎ 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
5609406 2537842 2537842 plaintiff Salter John     Salter, John, on his own account 0
5609407 2537842 2537842 defendant Sudbury Thomas   890618 890618 Sudbury, Thomas, of Much Wenlock, prior 0
5609408 2537842 2537842 defendant Corbet Peter esq 882289 882289 Corbet, Peter, of Lye by Worthyn, esq 1
5609409 2537842 2537842 defendant Lyster William merchant 586697 586697 Lyster, William, of Shrewsbury, merchant 2
5609410 2537842 2537842 defendant Gatacre Joyce widow 641467 641467 Gatacre, Joyce, of Gatacre, widow 3
5609411 2537842 2537842 defendant Brugge John gent 595192 595192 Brugge, John, of Lee, gent 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 13.195ms