available_subjects: List with available subjects

Description Usage Arguments Value Examples

Description

Returns a list with available subjects from Ipeadata API database.

Usage

1
available_subjects(language = c("en", "br"))

Arguments

language

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

Value

A data frame containing code and name of available subjects.

Examples

1
2
3
4
5
# Available subjects (in English)
all_subjects <- available_subjects()

# Available subjects (in Brazilian portuguese)
all_subjectsBR <- available_subjects(language = "br")

jessgoltara/pkg-ipeadata documentation built on May 30, 2019, 1:31 p.m.