R/downloadRtopExampleData.r

Defines functions downloadRtopExampleData

Documented in downloadRtopExampleData

downloadRtopExampleData = function(folder = system.file("extdata",package="rtop")) {
  wd = getwd()
  setwd(folder)
  download.file("http://www.hydro.tuwien.ac.at/fileadmin/mediapool-hydro/Downloads/rtopData.zip", 
         "rtopData.zip")
  unzip("rtopData.zip")
  setwd(wd)
}

Try the rtop package in your browser

Any scripts or data that you put into this service are public.

rtop documentation built on Nov. 2, 2023, 5:07 p.m.