Download calendar file
Usage
abfallnavi_kalender_download(
region,
format,
jahr,
ort,
strasse,
hnr,
fraktion,
safe = TRUE,
refresh = FALSE
)Arguments
- region
Region code.
- format
File format.
- jahr
Year.
- ort
Place name.
- strasse
Street id.
- hnr
House number id.
- fraktion
Fraction ids.
- safe
Logical; if
TRUE(default), apply rate-limiting and cache GET responses totools::R_user_dir("bunddev", "cache").- refresh
Logical; if
TRUE, ignore cached responses and re-fetch from the API (defaultFALSE).
Value
A one-row tibble with columns:
- region
Character. Region code passed to the request.
- format
Character. File format ("pdf" or "ics").
- jahr
Integer. Year passed to the request.
- bytes
List. Raw file bytes (raw vector).