read_csv_or_rds: checks if file exists in rds or csv format, and reads rds...

View source: R/general_functions.R

read_csv_or_rdsR Documentation

checks if file exists in rds or csv format, and reads rds file preferentially

Description

checks if file exists in rds or csv format, and reads from original extension if given; else reads rds file preferentially

Usage

read_csv_or_rds(filename, ...)

Arguments

filename

character vector of length 1: with or without extension

Value

the read data frame


ada-w-yan/deltaomicron1 documentation built on June 24, 2022, 5:41 a.m.