Read data in script coming from shiny download button

Hi all,

Using this exemple as a basis, is there a way to have in an R script something like:

data <- read.csv(''4053bf79d19be52efe28bfa3a3d10380'/download/downloadData?w=40a266ee').

I had the link above with a right-click on the download button but the id highlighted above in bold is not stable so I'm guessing i would need to first get that number and build the url with that.

Long shorty short, i want to read data that's coming from a shiny app that's updated every day without having to download manually the dataset every day.