home / cp40x

names

9 rows where case_id = 2436480

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5270536 2436480 2436480 plaintiff Dynham Charles     Dynham, Charles 0
5270537 2436480 2436480 plaintiff Dynham Elizabeth     Elizabeth, his wife 1
5270538 2436480 2436480 defendant Booth John   604539 604539 Booth, John, of Exeter, bishop 0
5270539 2436480 2436480 defendant Courtenay Philip     Courtenay, Philip 1
5270540 2436480 2436480 defendant Stonard Thomas     Stonard, Thomas 2
5270541 2436480 2436480 defendant Reynold Robert     Reynold, Robert 3
5270542 2436480 2436480 defendant Denys John   866655 866655 Denys, John, of Orlay 4
5270543 2436480 2436480 defendant Caleway James clerk   Caleway, James, clerk 5
5270544 2436480 2436480 defendant Stubbes Richard clerk   Stubbes, Richard, clerk 6

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