home / cp40x

names

5 rows where case_id = 2230151

✎ 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
4596514 2230151 2230151 plaintiff Rycheres John   590405 590405 Rycheres, John, of Martham 0
4596515 2230151 2230151 defendant Ramage William   645949 645949 Ramage, William, of Hemesby 0
4596516 2230151 2230151 defendant Ketell Thomas administrators of   Ketell, Thomas, administrators of 1
4596517 2230151 2230151 defendant Balle John   588486 588486 (Balle, John, of Wynterton 2
4596518 2230151 2230151 defendant Balle Agnes     Agnes, his wife 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 15.892ms