Allows you to download the catalogs of frequencies, sources, notes, topics and indicator names. Called in the background in some functions.
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)
INEGI API token
Optional id. If NULL, will download entire catalog.
data.frame
# NOT RUN {
# Get the corresponding frequency for frequency id #8 (monthly)
# }
# NOT RUN {
token <- "webservice token"
incat_freq(token, id = "8")
# }
# NOT RUN {
# Get all of the note descriptions
# }
# NOT RUN {
token <- "webservice token"
incat_notes(token)
# }
# NOT RUN {
#' # Get all of the sources descriptions
# }
# NOT RUN {
token <- "webservice token"
incat_source(token)
# }
Run the code above in your browser using DataLab