library(httr) library(RCurl) curl <- getCurlHandle() n_table <- 5
ine_api <- function(path) { url <- modify_url("http://servicios.ine.es", path = path) GET(url) }
resp <- ine_api("/wstempus/js/EN/OPERACIONES_DISPONIBLES") dat <- jsonlite::fromJSON(content(resp, "text")) ## write.table(dat, file = "/home/xps13/src/R/stanData/data-raw/API/ESP/list_datasets.tsv", sep = "\t", row.names = FALSE) knitr::kable(head(dat, n = n_table))
INEbase / Economía / Cuentas económicas / Contabilidad Nacional Anual de España. Base 2010
: - Resultados detallados
- Agregados por ramas de actividad (xlsx)
INEbase / Economy / National Accounts / Annual Spanish National Accounts. Base 2010
: - Detailed results
- Aggregates by industry (xlsx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.