prev4dias | R Documentation |
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).
prev4dias(id)
id |
The city's ID |
The function returns a data frame printed by city id
Renato Prado Siqueira rpradosiqueira@gmail.com
prev7dias
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.