prev7dias | R Documentation |
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.
prev7dias(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 prev7dias(225) ## Requesting weather forecast from the city of Rio de Janeiro/RJ prev7dias(241)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.