How to get the last modified date in {drake} for trigger purposes

I've got a drake question, as a newbie to the package.
One of the steps in my workflow is to download zip archives off the web with curl::curl_download(). Typically, archives update daily, but I don't necessarily need to re-download everything every time.

I'd like to set the trigger to only re-download the data if it's been over X days since last download, but I'm not sure how to make it work. Looking for some help here. Thank you!

1 Like

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