View source: R/indicators-indicators.R
get_indicators_code_data | R Documentation |
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.
get_indicators_code_data( indicatorcode, representation = "", granularity = "", fields = "", as_dataframe = F )
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“. |
get_indicators_code_data("AFILIACIONES")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.