get_hs_API_key: Get the locally stored healthsites API_key

View source: R/helper_functions.R

get_hs_API_keyR Documentation

Get the locally stored healthsites API_key

Description

Get the locally stored healthsites API_key

Usage

get_hs_API_key(env_var_name = "Healthsites_API_key")

Arguments

env_var_name

The name of the environment variable storing your heatlhsites API key.

Value

The API key stored as an environment variable under the name Healthsites_API_key.

Examples

## 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)

dark-peak-analytics/who_decide_AP documentation built on May 25, 2022, 8:31 p.m.