home / cp40x

names

7 rows where case_id = 2469060

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5379102 2469060 2469060 plaintiff White William draper 585869 585869 White, William, of London, draper 0
5379103 2469060 2469060 defendant Leche Ralph gent 880370 880370 Leche, Ralph, of Barley Legh, gent 0
5379104 2469060 2469060 defendant Barley John gent 663525 663525 Barley, John, of Dronefeld, gent 1
5379105 2469060 2469060 defendant Leys John yeoman 625429 625429 Leys, John, of Leys, yeoman 2
5379106 2469060 2469060 defendant Paynter Alexander yeoman 587631 587631 Paynter, Alexander, of Chesterfeld, yeoman 3
5379107 2469060 2469060 defendant Owetrem John yeoman 594005 594005 Owetrem, John, of Wodehous, yeoman 4
5379108 2469060 2469060 defendant Burghes William yeoman 587631 587631 Burghes, William, of Chesterfeld, yeoman 5

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