I am developing a Shiny dashboard that produces a PDF file (currently using a Rmd chunks) based on submitted input information from the Shiny session. The full dashboard has 8 panels with 4 data outputs each, so the user can choose up to 32 separate outputs. I also want to provide customized text based in the users selection.
Currently, I am passing information from the Shiny session to the Rmd document using a set of params. For example:
outChk: NA # a list of check box values
fips: NA # a place code
ctyName: NA # a place name
curACS: NA # a dataset flag
curYr: NA # a year value
The Rmd output is remarkably ugly. I have been trying to use the tukey template (modifying the tukey file structure provided by R-Studio), but have run into errors about "! Undefined control sequence". I am using tinytex as the latex engine.
Does anyone have an example of using to tukey template to produce a customized pdf document?
Thanks in advance.