names
5 rows where case_id = 2147513
This data as json, CSV (advanced)
| id ▼ | case_id | role | surname | forename | occupation | place_id | raw_segment | seq |
|---|---|---|---|---|---|---|---|---|
| 4350742 | 2147513 2147513 | plaintiff | Pettye | John | Pettye, John | 0 | ||
| 4350743 | 2147513 2147513 | defendant | Tenche | Randolph | dyer | 655141 655141 | Tenche, Randolph, of Leedes, Yorks, dyer | 0 |
| 4350744 | 2147513 2147513 | defendant | Wilson | Edward | chapman | 598281 598281 | Wilson, Edward, of Skipton in Craven, Yorks, chapman | 1 |
| 4350745 | 2147513 2147513 | defendant | Tayler | Tobias | draper | 588081 588081 | Tayler, Tobias, of Cambridge, draper | 2 |
| 4350746 | 2147513 2147513 | defendant | Harrison | William | mercer | 588837 588837 | Harrison, William, of Newarke, Notts, mercer | 3 |
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);