backup_raw: Backup Raw Data

View source: R/data-backup_raw.R

backup_rawR Documentation

Backup Raw Data

Description

This function copies raw data from an external location (i.e. a mapped network drive) to a specified local project directory. In addition, a snapshot of the files being copied is taken and stored in the specified "cache_dir" so that files are only re-copied if changed.

Usage

backup_raw(from_dir, to_dir, cache_dir = "cache", force = FALSE)

Arguments

from_dir

Directory to copy from.

to_dir

Directory to copy to.

cache_dir

Directory to store cached file snapshots.

force

Logical indicating if copying should be forced.

Value

Invisible - this function is used for its side effects


jimbrig/jimstools documentation built on Sept. 12, 2022, 12:08 p.m.