create_abs_path: This functions creates a absolute file path with forward...

Description Usage Arguments Value Examples

View source: R/helper.R

Description

This functions creates a absolute file path with forward slashes. It takes in as its argument a relative path to the data file you want to read. From that relative path it creates a absolute path to that data file that is unique to the local file system. This helps avoid file path errors that people run into when they read each others code.

Usage

1
create_abs_path(relPathToDataFile)

Arguments

relPathToDataFile

relative path to the data file (using forward slashes)

Value

abs_path absolute path to data file (with forward slashes)

Examples

1
abs_path <- create_abs_path(relPathToDataFile = "path/to/data.csv")

AarshBatra/econR documentation built on Dec. 17, 2021, 6:45 a.m.