home / cp40x

names

6 rows where case_id = 1938349

✎ 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
3738820 1938349 1938349 plaintiff Newport Richard, senior gent   Newport, Richard, senior, gent 0
3738821 1938349 1938349 defendant Tanner John yeoman 620990 620990 Tanner, John, of Lyonallys, Herefs, yeoman 0
3738822 1938349 1938349 defendant Lambe Thomas husbandman 614948 614948 Lambe, Thomas, of Hymbleton, husbandman 1
3738823 1938349 1938349 defendant Walford Edward yeoman 620991 620991 Walford, Edward, of Wolverton, Warks, yeoman 2
3738824 1938349 1938349 defendant Beck Thomas husbandman 596233 596233 Beck, Thomas, of Claredon, Warks, husbandman 3
3738825 1938349 1938349 defendant Ireland John husbandman 620992 620992 Ireland, John, of Hadsore, 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 19.324ms