get_cuzk_prague: Download GML geodata file for Prague from CUZK

View source: R/get_cuzk_prague.R

get_cuzk_pragueR Documentation

Download GML geodata file for Prague from CUZK

Description

Download GML geodata file for Prague from CUZK

Usage

get_cuzk_prague(
  date = strftime(lubridate::rollback(Sys.Date()), format = "%Y%m%d"),
  path = ".",
  cachetime = 32
)

Arguments

date

Date of file, must be last day of month. Defaults to end of previous month.

path

Where to save the downloaded zip file and unzipped xml file

cachetime

Redownload if the zip file found in path exists and is older than cachetime. Defaults to 32. Set to 0 to always redownload. Only checks existence and timestamp of downloaded zip file, not unzipped file.

Value

string Path to downloaded and unzipped file incl. path


petrbouchal/pragr documentation built on Jan. 9, 2023, 12:09 a.m.