home / cp40x

names

6 rows where case_id = 2375501

✎ 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
5063100 2375501 2375501 plaintiff Horne John gent   Horne, John, gent 0
5063101 2375501 2375501 defendant Wakefeld Henry gent 643273 643273 Wakefeld, Henry, of Campeden, Glos, gent 0
5063102 2375501 2375501 defendant Peyto William brewer 585869 585869 Peyto, William, of London, brewer 1
5063103 2375501 2375501 defendant Hornby William marbler 585869 585869 Hornby, William, of London, marbler 2
5063104 2375501 2375501 defendant Wyeston John gent 590479 590479 Wyeston, John, of Southwerk, gent 3
5063105 2375501 2375501 defendant Gode John yeoman 585869 585869 Gode, John, of London, 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 14.921ms