home / cp40x

names

7 rows where case_id = 2397732

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5138372 2397732 2397732 plaintiff Rodewey William     Rodewey, William 0
5138373 2397732 2397732 defendant Frampton Joan widow 851701 851701 Frampton, Joan, of Bysley, Gloucs, widow 0
5138374 2397732 2397732 defendant Frampton Robert gent 608117 608117 Frampton, Robert, of Bysley, gent 1
5138375 2397732 2397732 defendant Frampton John husbandman 608117 608117 Frampton, John, of Bysley, husbandman 2
5138376 2397732 2397732 defendant Froucester Henry husbandman 608117 608117 Froucester, Henry, of Bysley, husbandman 3
5138377 2397732 2397732 defendant Wheler John carpenter 851702 851702 Wheler, John, of Eggesworth, Gloucs, carpenter 4
5138378 2397732 2397732 defendant Houchyns John husbandman 608117 608117 Houchyns, John, of Bysley, husbandman 5

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.524ms