View source: R/GetRealTimeGrib.R
SanitizeURL | R Documentation |
An internal routine for replacing illegal URL character in level and variable names
SanitizeURL(bad.strs)
bad.strs |
A vector of strings destined for concatenation into a URL. They may have characters that are not allowed in URLs. |
This is an internal function that helps make sure variable and level names create valid URLS for downloading model data.
good.str |
A vector of strings with illegal URL characters replaced by their percent encoding |
Daniel C. Bowman danny.c.bowman@gmail.com
bad.strs <- c("I am full of ^ill=/\\egal characters")
good.str <- SanitizeURL(bad.strs)
print(good.str[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.