Learn R Programming

ipeadatar (version 0.2.1)

metadata: Metadata for Requested Series

Description

Returns metadata information for requested Ipeadata series.

Usage

metadata(code, language = c("en", "br"), label = TRUE, quiet = FALSE)

Value

A data frame containing metadata for the requested Ipeadata series, including code, name, comments, last update, theme, source, frequency, unit, multiplier, status, subject code, and country code.

Arguments

code

A character vector of Ipeadata series codes.

language

A character string specifying the language. Available options are English ("en", default) and Brazilian Portuguese ("br").

label

Logical. If TRUE (default), variable labels are added to the output data frame using sjlabelled::set_label().

quiet

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

References

This package uses the Ipeadata API: https://www.ipeadata.gov.br/

See Also

available_series(), available_subjects(), available_territories()

Examples

Run this code
meta <- metadata(code = "PRECOS12_IPCA12")

Run the code above in your browser using DataLab