get_current_weather: get current weather data for one location

Description Usage Arguments Value Examples

Description

get current weather data for one location

Usage

1
2
get_current_weather(api_key, cityID = NA, city = "", country = "",
  coordinates = NA, zip_code = NA)

Arguments

api_key

Open weather map API key

cityID

city ID

city

name of city

country

name of country

coordinates

(lat,lon) coordinates of the location of your interest

zip_code

zip code

Value

data frame giving current weather data for one location

Examples

1
2
3
4
## Not run: 
data=get_current_weather(api_key,city="guwahati")

## End(Not run)

mukul13/ROpenWeatherMap documentation built on May 23, 2019, 8:21 a.m.