aw_24_hrs_condition: Get 24 hour current conditions for a given location. The...

Description Usage Arguments Value

View source: R/awapi.R

Description

Get 24 hour current conditions for a given location. The first part of the function gets the location key and passes it through the url containing the data

Usage

1
2
3
4
5
6
aw_24_hrs_condition(
  lat,
  lon,
  tz = "Europe/London",
  apikey = Sys.getenv("awapi_key")
)

Arguments

lat

Latitude of location.

lon

Longitude of location.

tz

Default timezone is Europe/London. See http://www.timezoneconverter.com/cgi-bin/zoneinfo.tzc to find your timezone.

apikey

apikey needed to access data from the site.

Value

List of 24 hour current conditions for the location.


tayoso2/awapi documentation built on Dec. 23, 2021, 7:50 a.m.