to_tibble: to_tibble

Description Usage Arguments Value Examples

View source: R/to_tibble.R

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")

fileplyr documentation built on May 30, 2017, 8:18 a.m.