home / cp40x

names

6 rows where case_id = 2460314

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5350642 2460314 2460314 plaintiff Copley William     Copley, William 0
5350643 2460314 2460314 defendant Burgh Richard gent 586067 586067 Burgh, Richard, of York, gent 0
5350644 2460314 2460314 defendant Nevyle Robert gent 593252 593252 Nevyle, Robert, of Cudworth, gent 1
5350645 2460314 2460314 defendant Abde Henry yeoman 876404 876404 Abde, Henry, of Barwyk in Elmet, yeoman 2
5350646 2460314 2460314 defendant Forster John gent 585869 585869 Forster, John, of London, gent 3
5350647 2460314 2460314 defendant Emson Thomas carpenter 601728 601728 Emson, Thomas, of Osset, carpenter 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 16.581ms