| sidra_catalog | R Documentation |
Returns the official IBGE aggregate catalog as a rectangular table while retaining the research group to which each SIDRA table belongs.
sidra_catalog(refresh = FALSE, cache = FALSE, ttl = 1800, cache_dir = NULL)
refresh |
A single logical value. When caching is enabled, bypass and replace an existing entry. |
cache |
A single logical value. Cache normalized catalog or metadata
responses on disk. The default is |
ttl |
A positive cache lifetime in seconds. The default is 30 minutes. |
cache_dir |
Optional cache directory. By default, the platform-specific
user cache directory for |
The catalog is obtained from the official version 3 aggregate API.
Unknown fields added by the API are ignored. Missing fields are returned
as NA without changing the documented column types.
A base data.frame() with columns research_id, research_name,
table_id, and table_name. Identifier columns are character vectors.
Research groups without tables are retained with missing table fields.
Renato Prado Siqueira rpradosiqueira@gmail.com
search_sidra(), sidra_metadata()
Other SIDRA discovery functions:
sidra_locations(),
sidra_metadata(),
sidra_periods()
## Not run:
catalog <- sidra_catalog()
subset(catalog, grepl("prices", table_name, ignore.case = TRUE))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.