incat_: Get INEGI Catalogs

incat_R Documentation

Get INEGI Catalogs

Description

Allows you to download the catalogs of frequencies, sources, notes, topics and indicator names. Called in the background in some functions.

Usage

incat_freq(token, id = NULL)

incat_source(token, id = NULL)

incat_notes(token, id = NULL)

incat_topic(token, id = NULL)

incat_indicator(token, id = NULL)

Arguments

token

INEGI API token

id

Optional id. If NULL, will download entire catalog.

Value

data.frame

Author(s)

Eduardo Flores

Examples


# Get the corresponding frequency for frequency id #8 (monthly)
## Not run: 
token <- "webservice token"
incat_freq(token, id = "8")

## End(Not run)
# Get all of the note descriptions
## Not run: 
token <- "webservice token"
incat_notes(token)

## End(Not run)
#' # Get all of the sources descriptions
## Not run: 
token <- "webservice token"
incat_source(token)

## End(Not run)

Eflores89/inegiR documentation built on Jan. 31, 2024, 4:19 a.m.