View source: R/helper_functions.R
get_hs_API_key | R Documentation |
Get the locally stored healthsites API_key
get_hs_API_key(env_var_name = "Healthsites_API_key")
env_var_name |
The name of the environment variable storing your heatlhsites API key. |
The API key stored as an environment variable under the name Healthsites_API_key.
## Not run: # To save the API_key into the object \code{key} # this only works if an API key was saved as environment variable with # the name \code{Healthsites_API_key}. To check environment variables # names and their corresponding values. key <- get_hs_API_key(env_var_name = "Healthsites_API_key") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.