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

View source: R/prev7dias.R

prev7diasR 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. The data frame returned contain maximum and minimum temperature, ultra violet index and weather condition.

Usage

prev7dias(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
prev7dias(225)

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


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