istacbase_get: Call the ISTACBASE API and return a formatted data frame

Description Usage Arguments Details Value Examples

View source: R/istacbase_get.R

Description

This function calls the ISTACBASE API, capture the data in json format and return a list with data in json format and a formatted data frame.

Usage

1
istacbase_get(indicador)

Arguments

indicador

A character string. The ID code of the requested table. Normally gived by the istacbase_search function.

Details

# To be used inside of istacbase

Value

A list with data in json format and a formatted data frame.

Examples

1
2
# Percentiles de renta disponible (año anterior al de la entrevista) por hogar en Canarias y años.
istacbase_get("soc.cal.enc.res.3637")

rOpenSpain/istacbaser documentation built on June 4, 2020, 5:07 p.m.