# create temporary directory
temp_dir <- paste0(tempdir(),"/bioRad_tmp_files")
dir.create(temp_dir)
download_pvolfiles(
date_min = as.POSIXct("2016-10-02 20:00", tz = "UTC"),
date_max = as.POSIXct("2016-10-02 20:05", tz = "UTC"),
radar = "KBBX",
directory = temp_dir,
overwrite = TRUE
)
# Clean up
unlink(temp_dir, recursive = TRUE)
Run the code above in your browser using DataLab