wl_conditions: Get current conditions data for one station

Description Usage Arguments Value References

View source: R/current-conditions.R

Description

Returns current conditions data for a weather station selected by a station ID.

Usage

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

Arguments

station_id

(chr) Station id

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

list ith a generated_at attribute

References

API Endpoint; Data structure types


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