## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----eval=FALSE---------------------------------------------------------------
# # download treated data about energy generation
# clean_aneel <- load_aneel(
#   dataset = "energy_generation",
#   raw_data = FALSE
# )
# 
# 
# # download raw CDE data for one year
# budget_aneel_2019 <- load_aneel(
#   dataset = "energy_development_budget",
#   raw_data = TRUE,
#   year = 2019
# )
# 
# # download raw CDE data for multiple years
# budget_aneel_multi <- load_aneel(
#   dataset = "energy_development_budget",
#   raw_data = TRUE,
#   year = c(2020, 2021)
# )

