save_rdata: Save data in Rdata or Rda files

Description Usage Arguments Details Value See Also

View source: R/save_data.R

Description

save_rdata saves data in Rdata or Rda files

Usage

1
save_rdata(data.dir, pattern, file.ext = ".Rdata", convert = TRUE)

Arguments

data.dir

A character string with the name of the directory containing the files

pattern

A regular expression indicating the objects to be saved

file.ext

An optional character string, defaults to .Rdata

convert

A boolean indicating if the data frame should be converted to a data.frame before saving

Details

This function saves all designated data frames in Rdata or Rda files within a given directory. The data are optionally converted to data.frames prior to saving which allows for direct import into products like Tableau.

Value

An R object

See Also

save


bgulbis/dirr documentation built on Dec. 26, 2021, 6:40 a.m.