home / cp40x

names

10 rows where case_id = 1914352

✎ 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
3663035 1914352 1914352 plaintiff Norton John esq   Norton, John, esq 0
3663036 1914352 1914352 defendant Whitfeld John yeoman 605829 605829 Whitfeld, John, of Hatton, yeoman 0
3663037 1914352 1914352 defendant Scarburgh Leonard gent 603466 603466 Scarburgh, Leonard, of Hetton, gent 1
3663038 1914352 1914352 defendant Settil John, senior husbandman 603466 603466 Settil, John, senior, of Hetton, husbandman 2
3663039 1914352 1914352 defendant Frankeleyn Roger husbandman 603466 603466 Frankeleyn, Roger, of Hetton, husbandman 3
3663040 1914352 1914352 defendant Settil Richard husbandman 603466 603466 Settil, Richard, of Hetton, husbandman 4
3663041 1914352 1914352 defendant Merton Christopher husbandman 603466 603466 Merton, Christopher, of Hetton, husbandman 5
3663042 1914352 1914352 defendant Horton Henry husbandman 603466 603466 Horton, Henry, of Hetton, husbandman 6
3663043 1914352 1914352 defendant Morehouse Lionel husbandman 603466 603466 Morehouse, Lionel, of Hetton, husbandman 7
3663044 1914352 1914352 defendant Hergrave John husbandman 603466 603466 Hergrave, John, of Hetton, husbandman 8

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