Learn R Programming

inegiR (version 2.0.0)

inegi_code: INEGI code to call

Description

This function is a simple paste0() command that allows you to only pass a unique indicator ID to inegi_series(), instead of the entire URL string.

Usage

inegi_code(id)

Arguments

id

numeric INEGI id number

Value

string

Examples

Run this code
# NOT RUN {
# Get the corresponding URL for GDP
GPD_ID <- 381016
GDP_CALL_URL <- inegi_code(381016)
# }

Run the code above in your browser using DataLab