home / cp40x

names

5 rows where case_id = 2461707

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5355224 2461707 2461707 plaintiff Hyde Thomas     Hyde, Thomas 0
5355225 2461707 2461707 defendant Maltby Alan chaplain 594192 594192 Maltby, Alan, of Everdon, Nhants, chaplain 0
5355226 2461707 2461707 defendant Rymonde Richard haberdasher 586117 586117 Rymonde, Richard, of Coventry, haberdasher 1
5355227 2461707 2461707 defendant Cotes John gent 587281 587281 Cotes, John, of Honyngham, Warks, gent 2
5355228 2461707 2461707 defendant Austen Thomas capper 586117 586117 Austen, Thomas, of Coventry, capper 3

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