weatherstack_current: Real-time weather data

Description Usage Arguments Value Examples

View source: R/current.R

Description

Real-time weather data

Usage

1
weatherstack_current(api_key, location, units)

Arguments

api_key

Your API access key, which can be found in your acccount dashboard.

location

pass a single location

units

this parameter to pass one of the unit identifiers ot the API:m for Metric( temperature: Celsius); s for Scientific(temperature: Kelvin); f for Fahrenheit

Value

datframe contain current weather information.

Examples

1
2
weatherstack_current("ba435151893f4b833c9b27ca6f28044f","New York","m")
weatherstack_current("ba435151893f4b833c9b27ca6f28044f","London, United Kingdom","f")

Yuening-Li/weatherstack documentation built on Feb. 16, 2020, 5:42 a.m.