home / cp40x

names

5 rows where place_id = 591312

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3604031 1868926 1868926 defendant Sele Robert yeoman 591312 591312 Sele, Robert, of Thirlby, yeoman 1
3718263 1931997 1931997 defendant Butler Robert yeoman 591312 591312 Butler, Robert, of Thirlby, yeoman 0
4386313 2160100 2160100 defendant Lowson Thomas husbandman 591312 591312 Lowson, Thomas, of Thirlby, husbandman 2
4387886 2160581 2160581 defendant Lowson Mary spinster 591312 591312 Lowson, Mary, of Thirlby, spinster 1
4790093 2292977 2292977 defendant Goll Richard laborer 591312 591312 Goll, Richard, of Thirlby, laborer 2

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 18.067ms