The goal of rsisagua is to download and filter Sisagua files from Portal Brasileiro de Dados Abertos
You can install the development version of rsisagua from GitHub with:
install.packages("devtools")
devtools::install_github("camposvieira/rsisagua")
This is a basic example which shows you how to solve a common problem:
# X <- download_vigdp(periodo = c(2020:2022),
# regiao = "NORTE",
# unidade_federativa = c("AC", "AM", "RO"))