Downloading the midday images for PhenoCam sites given a time range
download_midday_images(site, y = year(Sys.Date()), months = 1, days = 1, download_dir)
a character string, the PhenoCam site name
integer numeric, the year for which midday images are downloaded
a vector of integer numeric, months for which midday images are downloaded
a vector of integer numeric, days for which midday images are downloaded
a character string, path to directory where images are downloaded
# NOT RUN { download_dir <- download_midday_images('dukehw', y = 2018, months = 2, days=1, download_dir= tempdir()) # }
Run the code above in your browser using DataCamp Workspace