Description Usage Arguments Details Examples
The forecast are retrived from Specific Forecasts by Municipality link.
1 | getForecastAEMET(codigo, KEY)
|
codigo |
character with Municipality Code. See link. |
KEY |
character API key. Users must register to obtain it. See link. |
getForecastAEMET returns a dataframe with date, temperature (Celsius scale), relative humidity (RH)(%), rainfall (mm) and wind (m/s).
1 2 3 4 5 | ## Not run:
key.aemet <- "AEMET-API-KEY"
getForecastAEMET(codigo = "03140", KEY = key.aemet) # Villena, Alicante, Spain
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.