opendatasus_recursos: List resources from an OpenDataSUS dataset

View source: R/opendatasus.R

opendatasus_recursosR Documentation

List resources from an OpenDataSUS dataset

Description

List resources from an OpenDataSUS dataset

Usage

opendatasus_recursos(conjunto, cache = TRUE, atualizar = FALSE)

Arguments

conjunto

Dataset slug returned by [opendatasus_catalogo()].

cache

Whether to cache portal metadata for the duration controlled by option 'datasus.cache_ttl'.

atualizar

Whether to ignore cached metadata and query the portal again.

Value

A data frame with one row per published resource, including its stable identifier, name, format, inferred year, URL and update date.

Examples


old_options <- options(
  datasus.timeout = 5,
  datasus.download_timeout = 15,
  datasus.max_tries = 1
)
try({
opendatasus_recursos("srag-2019-a-2026")
opendatasus_recursos("arboviroses-dengue")
})
options(old_options)


datasus documentation built on Oct. 7, 2026, 1:07 a.m.