home / cp40x

names

6 rows where case_id = 2299775

✎ 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
4811721 2299775 2299775 plaintiff Gerlond John merchant   Gerlond, John, merchant 0
4811722 2299775 2299775 defendant Lofter William husbandman 589826 589826 Lofter, William, of Wyllynghale Doo, husbandman 0
4811723 2299775 2299775 defendant Skynnere William husbandman 586397 586397 Skynnere, William, of Morton, husbandman 1
4811724 2299775 2299775 defendant Stondon William husbandman 587249 587249 Stondon, William, of Chelmesford, husbandman 2
4811725 2299775 2299775 defendant Martyn John laborer 593064 593064 Martyn, John, of Blakemore, laborer 3
4811726 2299775 2299775 defendant Fambregge John husbandman 805908 805908 Fambregge, John, of Good Estren or Good Easter, husbandman 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.202ms