Automated web scraping with the targets package

Maybe try tar_target(…, “your_url.com/file.csv”, format =“url”). That target will check the file at the url using the last modified timestamp and ETag if availabile and invalidate the target automatically if either changes. For running targets on GitHub actions, the tar_github_actions() function generates a workflow file, and GitHub.com/wlandau/targets-minimal is an example.