home / cp40x

names

5 rows where case_id = 2494322

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5464563 2494322 2494322 plaintiff Thurogode William     Thurogode, William 0
5464564 2494322 2494322 defendant Peche Richard husbandman 596163 596163 Peche, Richard, of Weldegolet, husbandman 0
5464565 2494322 2494322 defendant Maulove John chaplain 592680 592680 Maulove, John, of Netteswell, chaplain 1
5464566 2494322 2494322 defendant Dary John husbandman 865474 865474 Dary, John, of Estwyke, Herts, husbandman 2
5464567 2494322 2494322 defendant Genyn William husbandman 890322 890322 Genyn, William, of Great Perenden, husbandman 3

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