prev4dias: Retrieve 4 days weather forecast data from CPTEC/INPE

View source: R/prev4dias.R

prev4diasR Documentation

Retrieve 4 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 4 days. The data frame returned contain maximum and minimum temperature, ultra violet index and weather condition (tempo).

Usage

prev4dias(id)

Arguments

id

The city's ID

Value

The function returns a data frame printed by city id

Author(s)

Renato Prado Siqueira rpradosiqueira@gmail.com

See Also

prev7dias

Examples

## Requesting weather forecast from the city of Campo Grande/MS
prev4dias(225)

## Requesting weather forecast from the city of Rio de Janeiro/RJ
prev4dias(241)


cptec documentation built on June 8, 2022, 1:06 a.m.