home / cp40x

names

7 rows where case_id = 2220847

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4565759 2220847 2220847 plaintiff Soucere Benedict (legal representative) 627647 627647 Soucere, Benedict, of Cleye, executors of 0
4565760 2220847 2220847 plaintiff Chaundeler William   585936 585936 (Chaundeler, William, of Norwich 1
4565761 2220847 2220847 plaintiff Soucere Margaret formerly wife of Benedict   Soucere, Margaret, formerly wife of Benedict 2
4565762 2220847 2220847 defendant Basse John   586168 586168 Basse, John, of Skernyng 0
4565763 2220847 2220847 defendant Rasshe Simon   627647 627647 Rasshe, Simon, of Cleye 1
4565764 2220847 2220847 defendant Bale John   606657 606657 Bale, John, of Bynham 2
4565765 2220847 2220847 defendant Baret William   588926 588926 Baret, William, of North Elmham 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 7.34ms