get_current_weather: Get current weather information

View source: R/get_current_weather.R

get_current_weatherR Documentation

Get current weather information

Description

Get the current real-time weather and air-quality information

Usage

get_current_weather(location, air_quality = "yes")

Arguments

location

A vector of location

air_quality

A string of "yes" or "no" to show air quality information. Default is show air quality information ("yes").

Value

A data frame of current weather information (see vignette for details)

Examples

get_current_weather("Kelowna")
get_current_weather(c("Kelowna", "Vancouver"), "no")

evelynsugi/weatherapi documentation built on April 7, 2022, 12:43 p.m.