Learn R Programming

fileplyr (version 0.2.0)

to_tibble: to_tibble

Description

convert list output of fileply to an object of class tibble

Usage

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

Run this code
# 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")


Run the code above in your browser using DataLab