prevLatLon: Retrieve 7 days weather forecast data from CPTEC/INPE

Description Usage Arguments Value Author(s) See Also Examples

View source: R/prevLatLon.R

Description

This function allows the user to retrieve data from CPTEC/INPE weather forecast API for the next 7 days informing latitude and longitude of the local. The data frame returned contain maximum and minimum temperature, ultra violet index and weather condition.

Usage

1
prevLatLon(lat, lon)

Arguments

lat

The latitude numeric/character vector

lon

The longitude numeric/character vector

Value

The function returns a data frame printed by the parameters input

Author(s)

Renato Prado Siqueira <[email protected]>

See Also

prev7dias

Examples

1
2
3
4
5
## Not run: 
## Requesting weather forecast with a latitude/longitude information
prevLatLon("-20.432257", "-54.569751")

## End(Not run)

cptec documentation built on Sept. 20, 2017, 5:07 p.m.