Skip to contents

This function checks if shape files for Germany are available in the folder \%TEMP\%/R_kwb.dwd/shapes_germany. If not, the shape files are downloaded from the URL given in url and unpacked into that folder.

Usage

download_shapes_germany(
  url = "https://geodata.ucdavis.edu/gadm/gadm4.0/shp/gadm40_DEU_shp.zip",
  quiet = FALSE,
  timeout = 60
)

Arguments

url

URL to publicly available zip file containing shape files for Germany. Default: https://geodata.ucdavis.edu/gadm/gadm4.0/shp/gadm40_DEU_shp.zip

quiet

passed if TRUE status messages are suppressed

timeout

timeout in seconds

Value

path to folder containing shape files