get_indicators_code_data: 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
Run this codeget_indicators_code_data("AFILIACIONES")
Run the code above in your browser using DataLab