View source: R/aemet_api_query.R
get_data_aemet | R Documentation |
Client tool to get data and metadata from AEMET and convert json to tibble.
get_data_aemet(apidest, verbose = FALSE) get_metadata_aemet(apidest, verbose = FALSE)
apidest |
Character string as destination URL. See https://opendata.aemet.es/dist/index.html. |
verbose |
Logical |
A tibble or an empty tibble if no valid results from the API.
https://opendata.aemet.es/dist/index.html
# Run this example only if AEMET_API_KEY is detected url <- "/api/valores/climatologicos/inventarioestaciones/todasestaciones" get_data_aemet(url) # Metadata get_metadata_aemet(url)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.