get_indicators {istacr}R Documentation

Get indicators

Description

This function returns a list of indicators published in the ISTAC-indicators database. An indicator is a measure used to know the intensity of a phenomenon in spacetime. This measure can refer to different spatial or temporal granularities.

Usage

get_indicators(
  q = "",
  order = "",
  limit = 25,
  offset = 0,
  fields = "",
  representation = ""
)

Arguments

q

(string): Metadata query on which the searches can be built using “id“, “subjectCode“ or “geographicValue“.

order

(string): Order. Possible values are: “update“ and “id“. Order criteria are “ASC“ and “DESC“.

limit

(int): Results limit. By default “limit = 25“.

offset

(int): Displacement. Result from which it is returned. By default “offset = 0“.

fields

(string): Use of the answer by adding new fields. Possible values are: “+metadata“, “+data“ and “+observationsMetadata“.

representation

(string): Allows filtering the observations by their value. Its use only makes sense when “+data“ and/or “+observationsMetadata“ has been included.

Examples

get_indicators(
q='id IN ("AFILIACIONES", "EMPLEO_REGISTRADO_AGRICULTURA")',
order="id ASC",
fields="+data",
representation="GEOGRAPHICAL[35003|35005], MEASURE[ABSOLUTE]"
)

[Package istacr version 0.2.2 Index]