| info_sidra | R Documentation |
Uses the official JSON table descriptor to return variables, periods, classifications, categories, and geographic levels available in a table.
info_sidra(x, wb = FALSE)
x |
A numeric SIDRA table code. |
wb |
Logical. When |
Metadata is requested live from the official descriptor endpoint
and is not cached by the package. The timeout and retry options described
in get_sidra() also apply. If the descriptor returns a recognized
Cloudflare challenge, the official aggregate API v3 metadata and periods
are used unless options(sidrar.fallback = FALSE) is set. This alternative
preserves the five legacy components but cannot supply descriptor-specific
geographic names, active-unit counts, or variable availability exceptions.
Geographic descriptions label the unavailable counts explicitly; no zero
counts or availability ranges are inferred. The sidrar_metadata attribute
records the alternative source URLs and unavailable fields. Periods are
listed as codes, without assuming continuous coverage. Missing variable
units are recorded in this attribute and omitted from their descriptions.
When wb = FALSE, a list with components table, period,
variable, classific_category, and geo. When wb = TRUE, the
descriptor URL is returned invisibly after the browser is opened.
Renato Prado Siqueira rpradosiqueira@gmail.com
get_sidra() and sidra_metadata()
## Not run:
info_sidra(7060)
info_sidra(7060, wb = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.