home / cp40x

names

6 rows where case_id = 1947456

✎ 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
3767424 1947456 1947456 plaintiff Myllett Edward fishmonger 585869 585869 Myllett, Edward, of London, fishmonger 0
3767425 1947456 1947456 defendant Derknall Walter clerk 585869 585869 Derknall, Walter, of London, clerk 0
3767426 1947456 1947456 defendant Barfote William mercer 607646 607646 Barfote, William, of Whitchurche, Bucks, mercer 1
3767427 1947456 1947456 defendant Holmes John mercer 590413 590413 Holmes, John, of Witney, Oxon, mercer 2
3767428 1947456 1947456 defendant Sharpe Edward grocer 626004 626004 Sharpe, Edward, of Chlemesford, Essex, grocer 3
3767429 1947456 1947456 defendant Asshebroke William butcher 589709 589709 Asshebroke, William, of Magna Wycombe, Bucks, butcher 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 12.367ms