| Type: | Package | 
| Title: | R Interface to OpenWeatherMap API | 
| Version: | 1.1 | 
| Date: | 2016-03-15 | 
| Author: | Mukul Chaware[aut,cre] | 
| Maintainer: | Mukul Chaware <mukul.chaware13@gmail.com> | 
| Description: | OpenWeatherMap (OWM) http://openweathermap.org/api is a service providing weather related data. This package can be used to access current weather data for one location or several locations. It can also be used to forecast weather for 5 days with data for every 3 hours. | 
| License: | MIT + file LICENSE | 
| LazyData: | TRUE | 
| Imports: | httr,RCurl,jsonlite | 
| RoxygenNote: | 5.0.1.9000 | 
| NeedsCompilation: | no | 
| Packaged: | 2016-03-16 02:07:18 UTC; mukul | 
| Repository: | CRAN | 
| Date/Publication: | 2016-03-16 10:01:42 | 
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)
get current weather data for multiple cities
Description
get current weather data for multiple cities
Usage
get_multiple_cities(api_key, bbox = NA, coordinates = NA, count = NA,
  cityIDs = NA, cluster = "yes", units = "metric")
Arguments
api_key | 
 Open weather map API key  | 
bbox | 
 bounding box [lat of the top left point, lon of the top left point, lat of the bottom right point, lon of the bottom right point, map zoom]  | 
coordinates | 
 (lat,lon) coordinates of the location of your interest  | 
count | 
 number of cities around the point that should be returned  | 
cityIDs | 
 city IDs  | 
cluster | 
 use server clustering of points. Possible values are [yes, no]  | 
units | 
 metric units  | 
Value
data frame giving current weather data for several locations
Examples
## Not run: 
data=get_multiple_cities(api_key,cityIDs =c(524901,703448,2643743))
## End(Not run)
get weather forecast data for one location
Description
get weather forecast data for one location
Usage
get_weather_forecast(api_key, cityID = NA, city = "", country = "",
  coordinates = 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  | 
Value
data frame giving weather forecast data for one location
Examples
## Not run: 
data=get_weather_forecast(api_key,city="guwahati")
## End(Not run)