to_tibble: to_tibble

Description Usage Arguments Value Examples

Description

convert list output of fileply to an object of class tibble

Usage

1
to_tibble(object, valuename = "value")

Arguments

object

list output of fileply

valuename

name of the value list-column

Value

an object of class tibble

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# split-apply-combine
write.table(mtcars, "mtcars.csv", row.names = FALSE, sep = ",")
temp <- fileply(file     = "mtcars.csv"
             , groupby = c("carb", "gear")
             , fun     = identity
             , collect = "list"
             , sep     =  ","
             , header  = TRUE
             )
temp
to_tibble(temp)
unlink("mtcars.csv")

talegari/fileplyr documentation built on May 31, 2019, 2:51 a.m.