set_api_key: Set DHS API key

Description Usage Arguments Value See Also Examples

View source: R/set_api_key.R

Description

set_api_key captures the DHS API key for use in fetch_data.

Usage

1
set_api_key(dhs_api_key)

Arguments

dhs_api_key

Input DHS API key as string. Please see https://api.dhsprogram.com/#/introdevelop.html for authentication details.

Value

Returns the currently set dhs_api_key.

See Also

fetch_data

Examples

1
set_api_key("ABCDEF-123456")

murphy-xq/fetchdhs documentation built on May 14, 2019, 8:02 a.m.