View source: R/read_wasserportal_raw_gw.R
read_wasserportal_raw_gw | R Documentation |
read_wasserportal_raw_gw
read_wasserportal_raw_gw(
station = 149,
stype = "gws",
type = "single_all",
from_date = "",
include_raw_time = FALSE,
handle = NULL,
as_text = FALSE,
dbg = FALSE
)
station |
station id |
stype |
"gws" or "gwq" |
type |
"single" or "single_all" (if stype = "gwq") |
from_date |
(default: "") |
include_raw_time |
default: FALSE |
handle |
default: NULL |
as_text |
if TRUE, the raw text that is returned by the HTTP request to the Wasserportal is returned by this function. Otherwise (the default) the raw text is tried to be interpreted as comma separated values and a corresponding data frame is returned. Use as_text = TRUE to analyse the raw text in case that an error occurs when trying to convert the text to a data frame. |
dbg |
logical indicating whether or not to show debug messages. The default is FALSE |
data.frame with values
## Not run:
read_wasserportal_raw_gw(station = 149, stype = "gws")
read_wasserportal_raw_gw(station = 149, stype = "gwq")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.