names
5 rows where case_id = 2112894
This data as json, CSV (advanced)
| id ▼ | case_id | role | surname | forename | occupation | place_id | raw_segment | seq |
|---|---|---|---|---|---|---|---|---|
| 4249731 | 2112894 2112894 | plaintiff | Barry | Nicholas | Barry, Nicholas | 0 | ||
| 4249732 | 2112894 2112894 | plaintiff | Lawson | Edward | Lawson, Edward | 1 | ||
| 4249733 | 2112894 2112894 | defendant | Thorne | John | chapman | 587335 587335 | Thorne, John, of Henley on Thames, Oxon, chapman | 0 |
| 4249734 | 2112894 2112894 | defendant | Chapman | Richard | chapman | 723241 723241 | Chapman, Richard, of Kyngstanley, Glos, chapman | 1 |
| 4249735 | 2112894 2112894 | defendant | Vynton | Ralph | chapman | 699101 699101 | Vynton, Ralph, of Malmesburye, Wilts, chapman | 2 |
Advanced export
JSON shape: default, array, newline-delimited, object
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);