ipeadata: Returns a database about the requested series

Description Usage Arguments Value Note References See Also Examples

View source: R/ipeadata_pkg.R

Description

Returns a list with available database about the requested series.

Usage

1
ipeadata(code, language = c("en", "br"), quiet = FALSE)

Arguments

code

A character vector with Ipeadata code.

language

String specifying the selected language. Language options are English ("en", default) and Brazilian Portuguese ("br").

quiet

Logical. If FALSE (default), a progress bar is shown.

Value

A data frame containing Ipeadata code, date, value, territorial unit name and country or territorial code of requested series.

Note

The Ipeadata codes may be required by available_series().

References

This R package uses the Ipeadata API. For more information go to http://www.ipeadata.gov.br/.

See Also

available_series, available_territories

Examples

1
2
3
4
5
6
## Not run: 
# Data from
# "PAN_RRPE": Average real income from effective main work, Brazil
data <- ipeadata(code = "PAN_RRPE", language = "br")

## End(Not run)

ipeadatar documentation built on Feb. 3, 2022, 9:07 a.m.