-
Hello! I would like to now how can I handle if a Sharepoint URL changes. For example, I have an private url from Sharepoint that I can download throught the Microsoft365R package. My current plan is something like this: list( But the obj_download fails, because it tries to get it but needs the credentials from Microsoft365R. If I keep it just as string, I don't keep the track if the file has change. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
An alternative to the URL format would be something like tar_target(
obj_download,
download_file(),
cue = tarchetypes::tar_cue_force(condition = etag_file())
) where |
Beta Was this translation helpful? Give feedback.
An alternative to the URL format would be something like
where
download_file()
is a custom function to download the data andetag_file()
is a custom function to get the ETag. Both would useMicrosoft365R
.