home / cp40x

names

7 rows where case_id = 2183545

✎ 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
4445487 2183545 2183545 plaintiff Cromwell Robert de     Cromwell, Robert de 0
4445488 2183545 2183545 defendant Pye George   590873 590873 Pye, George, of Normanton 0
4445489 2183545 2183545 defendant Grayne Robert   590873 590873 Grayne, Robert, of Normanton 1
4445490 2183545 2183545 defendant Maynard John   590873 590873 Maynard, John, of Normanton 2
4445491 2183545 2183545 defendant Waryn John   590873 590873 Waryn, John, of Normanton 3
4445492 2183545 2183545 defendant del Welle John   590873 590873 del Welle, John, of Normanton 4
4445493 2183545 2183545 defendant Housom Robert   590873 590873 Housom, Robert, of Normanton 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 13.929ms