Description Usage Arguments Value See Also
View source: R/config_helpers.R
These functions are used specifically for their side effects – namely to
set (or reset) Dark Sky API authentication secrets stored in
options()$DarkSky
.
1 2 3 | set_dark_sky_credentials(key, lat, lon)
reset_dark_sky_credentials()
|
key |
Dark Sky secret key |
lat |
latitude (in decimal degrees). Positive north; negative south. |
lon |
longitude (in decimal degrees). Positive east; negative west. |
Returns TRUE
(invisibly) if options were successfully set or
reset.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.