home / cp40x

names

5 rows where case_id = 2099916

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4212488 2099916 2099916 plaintiff Welsted Leonard attorney   Welsted, Leonard, attorney 0
4212489 2099916 2099916 defendant Byckleye Thomas clerk 585951 585951 Byckleye, Thomas, of Winchester, or of Blanford, Dorset, clerk 0
4212490 2099916 2099916 defendant Laver Morgan yeoman 586920 586920 Laver, Morgan, of Kyngston, yeoman 1
4212491 2099916 2099916 defendant Pawlett Christopher esq 715993 715993 Pawlett, Christopher, of Cruxston, esq 2
4212492 2099916 2099916 defendant Batter John yeoman 715994 715994 Batter, John, of East Britche, 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 14.131ms