names
4 rows where case_id = 2241827
This data as json, CSV (advanced)
| id ▼ | case_id | role | surname | forename | occupation | place_id | raw_segment | seq |
|---|---|---|---|---|---|---|---|---|
| 4635111 | 2241827 2241827 | plaintiff | Wyryng | John | 585869 585869 | Wyryng, John, of London | 0 | |
| 4635112 | 2241827 2241827 | defendant | Grantham | John | clerk | 590032 590032 | Grantham, John, of Kent, clerk | 0 |
| 4635113 | 2241827 2241827 | defendant | atte Hethe | John | taverner | atte Hethe, John, taverner | 1 | |
| 4635114 | 2241827 2241827 | defendant | Marchant | John | 588442 588442 | Marchant, John, of Rochester, Kent | 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);