ondas | R Documentation |
This function allows the user to retrieve data from CPTEC/INPE weather forecast API for sea waves. The data frame returned contain last updat, day, hour of the day, sea turmoil, wave's height and wind's direction and intensity
ondas(id, dia = "todos")
id |
The city's ID |
dia |
"todos" (default) or a numeric/character value with "0", "1" or "2" |
The dia
argument can be set to:
0: Return only the actual's day data
1: Return only the tomorrow's data
2: Return only the after tomorrow's data
todos: Return all data available
The function returns a data frame printed by parameters input
Renato Prado Siqueira rpradosiqueira@gmail.com
iuv
## Requesting sea waves' forecast from the city of Rio de Janeiro/RJ ondas(241)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.