igebase_get: Call the IGE API and return a formatted data frame

Description Usage Arguments Value Examples

Description

This function calls the IGE API, capture the data in CSV format and it is formatted as data frame. To be used inside of igebase

Usage

1
igebase_get(igebase_ID, show_metadata = FALSE, cache)

Arguments

igebase_ID

A character string. The ID code of the requested table.

show_metadata

if FALSE, only get the data frame if TRUE, show information of metadata. Normally gived by the igebase_search function.

cache

Data frame with tables from IGE API.

Value

A data frame.

Examples

1
2
3
# Temperaturas e insolaciĆ³n.
df.temp <- igebase_get(520)
df.temp <- igebase_get(520, show_metadata = TRUE) # see information of metadata

jmcartiles/igebaser documentation built on May 10, 2019, 2:44 p.m.