Description Usage Details Examples
grab_args_clean
1 |
This is a version of grab_args
that will drop NULL values, as well
as match any arguments which may have multiple options. The main difference
here is that this will handle any need for match.arg
in parameter inputs.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | t.search_test2 <- function(q = NULL, geocode = NULL, lang = NULL, locale = NULL, result_type = c("mixed", "recent", "popular"),
count = 100, until = NULL, since_id = NULL, max_id = NULL, include_entities = FALSE){
query <- grab_args_clean()
query
}
> t.search_test2()
$result_type
[1] "mixed"
$count
[1] 100
$include_entities
[1] FALSE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.