home / cp40x

names

6 rows where case_id = 2186435

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4454531 2186435 2186435 plaintiff (not given)   prior of Malton   Malton, prior of 0
4454532 2186435 2186435 defendant Pokethorp John de   758517 758517 Pokethorp, John de, of Rillyngton, son of Ralph 0
4454533 2186435 2186435 defendant Raynson Geoffrey   758517 758517 Raynson, Geoffrey, of Rillyngton 1
4454534 2186435 2186435 defendant Saunderson John (legal representative) 758517 758517 Saunderson, John, of Rillyngton, executor of 2
4454535 2186435 2186435 defendant Saunderson William   755600 755600 (Saunderson, William, of Bubwyth, vicar 3
4454536 2186435 2186435 defendant Saunderson Margaret formerly wife of John   Saunderson, Margaret, formerly wife of John 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 14.863ms