View source: R/scraping_helpers.R
| return_named_list | R Documentation |
Makes it easier to return a named list from a function.
return_named_list()
named list of all objects in the function that don't
start with a dot.
# Function that uses return_named_list()
func <- function(a, b) {
# objects prefixed with a dot get ignored
.not_include = b
x = a
y = NULL
return_named_list()
}
func(1, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.