get_current_weather {ROpenWeatherMap} | R Documentation |
get current weather data for one location
Description
get current weather data for one location
Usage
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
## Not run:
data=get_current_weather(api_key,city="guwahati")
## End(Not run)
[Package ROpenWeatherMap version 1.1 Index]