get_rds_df: Read in RDS files with similar name and combine into a data...

Description Usage Arguments Details Value See Also

View source: R/save_data.R

Description

get_rds_df reads in all RDS files matching a pattern and combines into a single data frame

Usage

1
get_rds_df(data.dir, pattern, file.ext = ".Rds")

Arguments

data.dir

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

pattern

A regular expression indicating the objects to be read

file.ext

An optional character string, defaults to .Rds

Details

This function reads in all RDS files in a given directory which match a pattern and combines them into a single data frame.

Value

An R object

See Also

readRDS


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