| opendatasus_recursos | R Documentation |
List resources from an OpenDataSUS dataset
opendatasus_recursos(conjunto, cache = TRUE, atualizar = FALSE)
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. |
A data frame with one row per published resource, including its stable identifier, name, format, inferred year, URL and update date.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.