Learn R Programming

rtop (version 0.6-9)

downloadRtopExampleData: Download additional example data

Description

Download additional example data from Vienna University of Technology

Usage

downloadRtopExampleData(folder = system.file("extdata",
                        package="rtop"))

Value

The function will have as a side effect that additional example data is downloaded from Vienna University of Techology. This will for the default case replace the existing example data-set in the rtop package. Alternatively the user can specify a separate directory for the data set.

Arguments

folder

the folder to which the downloaded data set will be copied

Author

Jon Olav Skoien

References

Skoien J. O., R. Merz, and G. Bloschl. Top-kriging - geostatistics on stream networks. Hydrology and Earth System Sciences, 10:277-287, 2006.

Skoien, J. O., Bloschl, G., Laaha, G., Pebesma, E., Parajka, J., Viglione, A., 2014. Rtop: An R package for interpolation of data with a variable spatial support, with an example from river networks. Computers & Geosciences, 67.

Examples

Run this code
if (FALSE) {
  downloadRtopExampleData()
  rpath = system.file("extdata",package="rtop")
  library(sf)
  observations = st_read(rpath,"observations") 
}

Run the code above in your browser using DataLab