home / cp40x

names

6 rows where case_id = 2388759

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5107927 2388759 2388759 plaintiff Ellesmere Robert goldsmith 585869 585869 Ellesmere, Robert, of London, goldsmith 0
5107928 2388759 2388759 defendant Mortymere Hugh   847244 847244 Mortymere, Hugh, of Cure, Worcs, knight 0
5107929 2388759 2388759 defendant Crome John   847245 847245 Crome, John, of Mager, Netherwent, South Wales, groom 1
5107930 2388759 2388759 defendant Morley John   847246 847246 Morley, John, of Barnestapyll, Durham, knight, household of Bishop of Durham 2
5107931 2388759 2388759 defendant Smyth William yeoman 586513 586513 Smyth, William, of Newebury, Berks, yeoman 3
5107932 2388759 2388759 defendant Welke Stephen husandman 590201 590201 Welke, Stephen, of Berkyng, Essex, husandman 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 12.021ms