use_network_path: Use a stored network path

Description Usage Arguments Value Examples

View source: R/utils.R

Description

This will retrieve and use a stored network path in conjunction with a provided file or folder path.

Usage

1

Arguments

...

path elements (character). Path to a network folder or file, relative to get_network_path(). Individual components will be combined with file.path()

Value

full path to a folder or file

Examples

1
2
3
4
5
6
7
## Not run: 
use_network_path("file.csv")
use_network_path("folder_name/file.csv")
# In a function call:
read.csv(use_network_path("folder_name/file.csv"))

## End(Not run)

bcgov/safepaths documentation built on Dec. 23, 2021, 10:19 p.m.