Learn R Programming

Rforecastio (version 2.0.0)

forecastio_api_key: Get or set FORECASTIO_API_KEY value

Description

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

Usage

forecastio_api_key(force = FALSE, time.formatter = as.POSIXct, ...)

Arguments

force
force setting a new ForecastIO API key for the current environment?

Value

atomic character vector containing the ForecastIO API key