Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/url-retrieval.R
Interactive function to extract the download URLs of the FTP server of the DWD
1 | get.dwd.ftp.url(batch.choices = NULL)
|
batch.choices |
Numerical vector containing the numbers, which correspond to the choices in the interactive mode. If NULL, the choices will be selected interactively. Default = NULL. |
Since there is A LOT of different data provided by
the German weather service (DWD), it makes no sense to specify
them all using input arguments to this function. Instead, the
user will be guided interactively through the different data
sources and specifies the data she want using the inputs at the
prompt. If you prefer to run the function non-interactive, you
can use the batch.choices
argument and supply a vector of
numbers corresponding to your choices.
As another option, you can use the cat.dwd.ftp.url
function, which returns a vector containing all download
URLs. This vector can then be manipulated using e.g. the grep
command.
Since there is a lot of different set of data, it is also not possible to provide documentation for the individual data sources. Please see the ftp://ftp-cdc.dwd.de/pub/CDC/ FTP server for further details.
Before using the data of the DWD, be sure you read its ftp://ftp-cdc.dwd.de/pub/CDC/Terms_of_use.pdf!
List containing to two elements
data
- A character vector containing one or more
URLs pointing to the different data folders on the
FTP servers of the DWD
meta
- A character vector pointing to the folder
containing the meta data. Or NULL if there is no
distinct folder and the meta data is contained in
the folders present in the data
URLs
Philipp Mueller
Other dwd-urls: cat.dwd.ftp.url
1 2 3 | ## Get the URLs pointing to the aggregated collection of the daily
## measured climatic data of the DWD.
dwd2r:::get.dwd.ftp.url( batch.choices = c( 1, 1, 5, 1 ) )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.