get_indicators_code_data: Get indicators code data

View source: R/indicators-indicators.R

get_indicators_code_dataR Documentation

Get indicators code data

Description

This function returns complete data (for all spacetime) of the indicator. On the other hand, metadata describing the characteristics of a specific indicator are offered through the metadata request, allowing the compression of the measured fact.

Usage

get_indicators_code_data(
  indicatorcode,
  representation = "",
  granularity = "",
  fields = "",
  as_dataframe = F
)

Arguments

indicatorcode

(string): an indicator code

representation

(string): Allows filtering the observations by their value.

granularity

(string): Allows to filter the observations through the granularities of the same.

fields

(string): Allows you to customize the response by excluding fields. The possible values are:

as_dataframe

(bool): If True, this function returns a namedtuple with: - dataframe: pandas dataframe built from API response. - codelists: mapping between codes and representations for each column. “-observationsMetadata“.

Examples

get_indicators_code_data("AFILIACIONES")

istacr documentation built on Dec. 28, 2022, 2:01 a.m.