create_full_path: Create full paths to files for other functions

View source: R/save.R

create_full_pathR Documentation

Create full paths to files for other functions

Description

Create full paths to files for other functions

Usage

create_full_path(path, filename, extension)

Arguments

path

Path for file as a string with folders created as required. When NULL, it defaults to "Processed" under the pwd. Any additional folders listed here will appear under "Processed". If only one subdirectory required, it can be a simple string (e.g. "Outputs" will create "Data/Outputs/") otherwise, a character vector (c("Outputs", "Maps") for "Data/Outputs/Maps") If you need to save outside the "Data" folder, use the relevant save function.

Value

A string with a properly formatted absolute filename from the current working directory

Other arguments

Passed from relevant save functions


AltfunsMA/cptools documentation built on Aug. 7, 2022, 5:44 p.m.