get_indicators: Get indicators

Description Usage Arguments Examples

View source: R/indicators-indicators.R

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

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

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

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