cso_search_toc | R Documentation |
Searches the list of all table descriptions returned by cso_get_toc() for a given substring.
cso_search_toc(
string,
toc = cso_get_toc(suppress_messages = TRUE, flush_cache = FALSE, from_date = NULL)
)
string |
string. The text to search for. Case insensitive. |
toc |
data.frame. The table of contents as returned by cso_get_toc. If not given, will be re-downloaded (or retrieved from cache) using cso_get_toc(). |
flush_cache |
logical. If TRUE the cache will be checked for old, unused files. Any files wich have not been accessed in the last month will be deleted strings. |
data frame of three character columns, with layout identical to that of cso_get_toc. A subset of the results of cso_get_toc, with only rows where the description field contains the entered string.
## Not run:
trv <- cso_search_toc("travel")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.