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

View source: R/prevLatLon.R

prevLatLonR Documentation

Retrieve 7 days weather forecast data from CPTEC/INPE

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

prevLatLon(lat, lon)

Arguments

lat

The latitude numeric/character vector

lon

The longitude numeric/character vector

Details

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.

Value

The function returns a data frame printed by the parameters input

Author(s)

Renato Prado Siqueira rpradosiqueira@gmail.com

See Also

prev7dias

Examples

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

## End(Not run)



rpradosiqueira/cptec documentation built on June 14, 2022, 7:41 a.m.