home / cp40x

names

6 rows where case_id = 2374112

✎ 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
5058547 2374112 2374112 plaintiff Davy John merchant 590141 590141 Davy, John, of Dursley, merchant 0
5058548 2374112 2374112 defendant Stone alias Rawelyn Nicholas husbandman 604049 604049 Stone alias Rawelyn, Nicholas, of Uley, husbandman 0
5058549 2374112 2374112 defendant Haynes Robert husbandman 604049 604049 Haynes, Robert, of Uley, husbandman 1
5058550 2374112 2374112 defendant Byford John husbandman 768996 768996 Byford, John, of Cambrigge, husbandman 2
5058551 2374112 2374112 defendant Forde John tucker 611278 611278 Forde, John, of Kyngeswode, Wilts, tucker 3
5058552 2374112 2374112 defendant Plymmeswode Walter tucker 598862 598862 Plymmeswode, Walter, of Wodemancote, tucker 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.871ms