R Markdown - How to read every day data from external URL and execute the R code each time?

0

I made a html web in Github Pages from a R Markdown. I need reread a dataset from a URL every day and execute the R code in the R Markdown each time, but I failed to achieve it. The dataset change every day so it is necessary reread it every day. I try to invalidate the cache every day with this in the R code chunk R Markdown:

```{r echo= FALSE, warning=FALSE, message=FALSE, cache=TRUE, cache.extra = Sys.Date()}  

But I failed to read the changes in the external dataset and the data is always the same that it was the day I created the HTML output in R Studio. Is the first time that I use a R Markdown so probabily I am doing something very wrong. Thank you in advance for your kind help!

From: FAQ: Is it OK if I cross-post?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.