R-outbreak-info
R-outbreak-info copied to clipboard
Possible to suppress "Is this a location of interest? (Y/N)" prompts?
I'd like to run the outbreak.info getPrevalence()
function as part of a high-throughput workflow on an HPC cluster. For context, that part of the workflow is meant to download prevalence data for each United States Health and Human Services region and use those data to run some statistics. In order to do so, I need a way to suppress the user prompts I get when I try to download each state. The prompts look like this:
Is this a location of interest? (Y/N):
Or at the very least, I need some way to automate the Y
response. So far, I've tried using the force()
and sink()
functions to no avail.
Do you have any suggestions for how to automate or suppress these prompts? Thanks!