At present, the philosophy in the code is that all observational data (cases, deaths, etc.) are fed into the InferenceFramework::Run fuction, and it extracts the data pertaining to the specific health board of interest. For example:
[x] The select_obs function similarly has to extract data pertaining to the health board of interest
It would make more sense for the set-up code to extract and compute the necessary data structures separately, and have the Model::Run function exclusively concerned with stepping through the model iterations based on the sanitised and validated input data provided by the set up code.
The remaining locations at which health board data extraction take place are:
At present, the philosophy in the code is that all observational data (cases, deaths, etc.) are fed into the
InferenceFramework::Run
fuction, and it extracts the data pertaining to the specific health board of interest. For example:select_obs
function similarly has to extract data pertaining to the health board of interestIt would make more sense for the set-up code to extract and compute the necessary data structures separately, and have the Model::Run function exclusively concerned with stepping through the model iterations based on the sanitised and validated input data provided by the set up code.
The remaining locations at which health board data extraction take place are:
pf_byage
data structure: