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!

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.