bde_catalog_search | R Documentation |
Search for keywords on the time-series catalogs.
bde_catalog_search(pattern, ...)
pattern |
|
... |
Arguments passed on to
|
Note that BdE files are only provided in Spanish, for the time being. Therefore search terms should be provided in Spanish as well in order to get search results.
This function uses base::grep()
function for finding matches on
the catalogs. You can pass regular expressions to broaden
the search.
A tibble
object with the results of the query.
bde_catalog_load()
, base::regex
Other catalog:
bde_catalog_load()
,
bde_catalog_update()
# Simple search (needs to be in Spanish)
# !! PIB [es] == GDP [en]
bde_catalog_search("PIB")
# More complex - Single
bde_catalog_search("Francia(.*)PIB")
# Even more complex - Double
bde_catalog_search("Francia(.*)PIB|Italia(.*)PIB|Alemania(.*)PIB")
# Search a sequential code: Exact match
# Note that this series (sequential code) appears on several tables
bde_catalog_search("^3779313$")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.