home / cp40x

names

6 rows where case_id = 1923938

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3692794 1923938 1923938 plaintiff Lane Richard skinner 585869 585869 Lane, Richard, of London, skinner 0
3692795 1923938 1923938 defendant Martyn Nicholas yeoman 612348 612348 Martyn, Nicholas, of Harborowe, Nhants, yeoman 0
3692796 1923938 1923938 defendant Goldsmythe William barber 612349 612349 Goldsmythe, William, of Brentwod, Essex, barber 1
3692797 1923938 1923938 defendant Selyngar Anthony yeoman 586255 586255 Selyngar, Anthony, of Otford, Kent, yeoman 2
3692798 1923938 1923938 defendant Holden William yeoman 598401 598401 Holden, William, of King's household, yeoman 3
3692799 1923938 1923938 defendant Holland Oliver yeoman 598401 598401 Holland, Oliver, of King's household, yeoman 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 16.088ms