tidy_bunch: Tidy Gapminder indicator data sheets stored in a folder using...

Description Usage Arguments Value Examples

View source: R/tidy_bunch.R

Description

Tidy Gapminder indicator data sheets stored in a folder using tidy_indice.

Usage

1
tidy_bunch(dirpath = ".", merge = FALSE, ...)

Arguments

dirpath

Path to folder containing indices data sheets.

merge

A boolean. If true, combines all indices data sheets in one. Default: FALSE.

...

Ellipsis.

Value

List of indices data frames tidied (if merge = FALSE) or a single data frame of all indices tidied (if merge = TRUE).

Examples

1
2
3
folder_path <- system.file("extdata", package = "tidygapminder")

tidy_bunch(folder_path)

tidygapminder documentation built on Feb. 4, 2020, 9:08 a.m.