home / cp40x

names

6 rows where case_id = 2109231

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4238911 2109231 2109231 plaintiff South John gent   South, John, gent, executrix of 0
4238912 2109231 2109231 plaintiff South Alice widow   South, Alice, widow 1
4238913 2109231 2109231 defendant Peack Peter yeoman 615146 615146 Peack, Peter, of Clee, yeoman 0
4238914 2109231 2109231 defendant Mussendine Richard gent 692001 692001 Mussendine, Richard, of Cotes Magna, gent 1
4238915 2109231 2109231 defendant Tyndall Francis gent 721273 721273 Tyndall, Francis, of Ferribie, Yorks, gent 2
4238916 2109231 2109231 defendant Tailer William yeoman 680598 680598 Tailer, William, of Grymesbye, yeoman 3

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 16.502ms