darksky_api_key {darksky}R Documentation

Get or set DARKSKY_API_KEY value

Description

The API wrapper functions in this package all rely on a Dark Sky API key residing in the environment variable DARKSKY_API_KEY. The easiest way to accomplish this is to set it in the '.Renviron' file in your home directory.

Usage

darksky_api_key(force = FALSE)

Arguments

force

force setting a new Dark Sky API key for the current environment?

Value

atomic character vector containing the Dark Sky API key


[Package darksky version 1.3.0 Index]