home / cp40x

names

6 rows where case_id = 2321734

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4883407 2321734 2321734 plaintiff Emneth Thomas     Emneth, Thomas 0
4883408 2321734 2321734 defendant Fynche Roger chandler 586079 586079 Fynche, Roger, of Bedford, chandler 0
4883409 2321734 2321734 defendant Kyngeston John butcher 780689 780689 Kyngeston, John, of Aillesbury, Bucks, butcher 1
4883410 2321734 2321734 defendant Smerth Richard husbandman 816975 816975 Smerth, Richard, of Slepe, Herts, husbandman 2
4883411 2321734 2321734 defendant Leweson William barber 585869 585869 Leweson, William, of London, barber 3
4883412 2321734 2321734 defendant Draper William draper 768333 768333 Draper, William, of Ailesbury, draper 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 15.8ms