make_ts_archive_path: Create an archive file name for a file on ScienceBase

make_ts_archive_pathR Documentation

Create an archive file name for a file on ScienceBase

Description

Usually subsidiary to make_ts_path, but may also be called directly if you already have a non-archive file_path to modify

Usage

make_ts_archive_path(file_path, creation_date)

Arguments

file_path

of the file that is to be archived

creation_date

the creation date of the ScienceBase file that will be archived (as.POSIXct). can't be NA.

Value

a file name to be used as an archive

Examples

make_ts_archive_path('nwis_05406480-ts_doobs_nwis.tsv.gz', Sys.time())
make_ts_archive_path('temp/nwis_05406480-ts_doobs_nwis.tsv.gz', Sys.time())

USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.