incat_: Get INEGI Catalogs

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
# 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)

inegiR documentation built on July 14, 2019, 5:02 p.m.