wl_stations: Get all weather stations associated with your API Key

Description Usage Arguments Value References

View source: R/stations.R

Description

Returns data for all weather stations associated with the API Key passed in the query parameters. Currently all stations are returned in a single response. A future enhancement will provide pagination to reduce the size of the response.

Usage

1
2
3
4
wl_stations(
  api_key = Sys.getenv("WEATHERLINK_API_KEY"),
  api_secret = Sys.getenv("WEATHERLINK_API_SECRET")
)

Arguments

api_key, api_secret

WeatherLink API (V2) key/secret. Generate & retrieve them from your account page. Automagically retrieved from WEATHERLINK_API_KEY and WEATHERLINK_API_SECRET environment variables.

Value

data frame with a generated_at attribute

References

API Endpoint; Data structure types


hrbrmstr/weatherlink documentation built on Jan. 20, 2021, 10:34 p.m.