get_indicators_code_data: Get indicators code data

Description Usage Arguments Examples

View source: R/indicators-indicators.R

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

1
2
3
4
5
6
7
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

1
get_indicators_code_data("AFILIACIONES")

eDatos/istacr documentation built on Nov. 24, 2021, 10:39 a.m.