| tidy_bunch | R Documentation |
Applies tidy_index to all Gapminder data sheets found in a
directory and optionally combines them into a single data frame.
tidy_bunch(dirpath = ".", combine = FALSE, ...)
dirpath |
Path to folder containing indices Gapminder indicator data sheets. Defaults to the current working directory. |
combine |
A boolean. If |
... |
Additional arguments (reserved for future use). |
If combine = FALSE (default), a named list of tibbles, one per file.
If combine = TRUE, a single tibble with all indicators merged by
country and year.
folder_path <- system.file("extdata", package = "tidygapminder")
tidy_bunch(folder_path)
tidy_bunch(folder_path, combine = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.