ThomUK / SPCreporter

Creates Metric Reports using Statistical Process Control in the NHS style
https://thomuk.github.io/SPCreporter/
Other
6 stars 2 forks source link

"target_text" and "target_set_by" logic in Rmd template need looking at #121

Closed francisbarton closed 23 hours ago

francisbarton commented 8 months ago

These ifelse steps should be handled within spcr_make_data_bundle() not within the Rmd.

The target text is already handled in that function, so logic in the Rmd template is superfluous. The target set by is not yet handled in the function but could easily be. And then remove the logic in the Rmd.

If "target set by" is blank (NA) it should get changed to a "-" for publication so the white box gets rendered.