readDWD.pdf: open pdf data

View source: R/readDWD.R

readDWD.pdfR Documentation

open pdf data

Description

open pdf file. This leads to less failures in the new meta=TRUE

Usage

readDWD.pdf(file, quiet = rdwdquiet(), ...)

Arguments

file

Name of file on harddrive, like e.g. monthly_kl_historical_DESCRIPTION_obsgermany_climate_monthly_kl_historical_en.pdf

quiet

Ignored. DEFAULT: FALSE through rdwdquiet()

...

Further arguments passed to berryFunctions::openFile() and from there to system2()

Value

berryFunctions::openFile() output

system in selectDWD().

Intended to be called via readDWD().

Author(s)

Berry Boessenkool, berry-b@gmx.de, May 2022.

See Also

readDWD()

Examples

## Not run:  # Excluded from CRAN checks, but run in localtests
link <- selectDWD(res="hourly", var="solar", per="r", meta=TRUE)
if(!any(endsWith(link,"pdf"))) stop("no pdf file here anymore") 
# hourly/sun no longer has a pdf file anymore 2023-09
link <- link[endsWith(link,"pdf")][1]
file <- dataDWD(link, read=FALSE)
readDWD(file)

## End(Not run)

brry/rdwd documentation built on April 18, 2024, 4:16 a.m.