home / cp40x

names

7 rows where case_id = 1973583

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3849983 1973583 1973583 plaintiff Marler William (legal representative) 585869 585869 Marler, William, of London, haberdasher, executrix of 0
3849984 1973583 1973583 plaintiff Marler Alice widow   Marler, Alice, widow 1
3849985 1973583 1973583 defendant Hynd Henry mercer 586117 586117 Hynd, Henry, of Coventry, mercer 0
3849986 1973583 1973583 defendant Napton Thomas   586117 586117 Napton, Thomas, of Coventry, buckle maker 1
3849987 1973583 1973583 defendant Heyer William mercer 639616 639616 Heyer, William, of Shepton Mallard, Soms, mercer 2
3849988 1973583 1973583 defendant Chaffyn John mercer 585925 585925 Chaffyn, John, of Bristol, mercer 3
3849989 1973583 1973583 defendant Cote Roger mercer 639617 639617 Cote, Roger, of Adderston, Leics, mercer 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.87ms