Validate processed hfr data
validate_hfr_data(hfr_data, orgs, ims, dates, keep_values = FALSE)
processed hfr data
datim org hierarchy
datim mechanisms
hfr valid dates
Keep values along the error flags
errors data frame
if (FALSE) {
validate_hfr_data(df_hfr_data, orgs=org_hierarchy, ims=df_mechanisms, dates=df_hfr_dates)
validate_hfr_data(df_hfr_data, orgs=org_hierarchy, ims=df_mechanisms, dates=df_hfr_dates, keep_values = TRUE)
}