home / cp40x

names

7 rows where case_id = 2327718

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4903534 2327718 2327718 plaintiff Fenyngham William     Fenyngham, William 0
4903535 2327718 2327718 defendant Stopham William, senior (legal representative)   Stopham, William, senior, executors of 0
4903536 2327718 2327718 defendant Giffard John esq 819602 819602 (Giffard, John, of Ichell, Hants, esq 1
4903537 2327718 2327718 defendant Bathe John parson of Retherfeld, Sussex   Bathe, John, parson of Retherfeld, Sussex 2
4903538 2327718 2327718 defendant Stopham Roger laborer 631992 631992 Stopham, Roger, of West Fyrle, Sussex, laborer 3
4903539 2327718 2327718 defendant Stopham William laborer 614998 614998 Stopham, William, of West Fyrle, laborer 4
4903540 2327718 2327718 defendant Stopham Alice widow 636420 636420 Stopham, Alice, of West Firle, widow 5

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