Skip to contents

Read files with Stamp

Usage

st_read(
  file,
  st_dir = NULL,
  vintage = NULL,
  vintage_dir = NULL,
  verbose = getOption("stamp.verbose"),
  ...
)

Arguments

file

character: file path to be read.

st_dir

character: Directory to store stamp files. By default it is a subdirectory at the same level of file.

vintage

An integer or a quoted directive. "available": displays list of available versions for measure. "select"|"pick"|"choose": allows user to select the vintage of measure. if the integer is a zero or a negative number (e.g., -1), pip_load_aux will load that number of versions before the most recent version available. So, if 0, it loads the current version. If -1, it will load the version before the current, -2 loads two versions before the current one, and so on. If it is a positive number, it must be quoted (as character) and in the form "%Y%m%d%H%M%S". If "00", it load the most recent version of the data (similar to version = 0 or version = NULL or version = "0"). The difference is that "00" load the most recent version of the vintage folder, rather than the current version in the dynamic folder. Thus, attribute "version" in attr(dd, "version") is the actual version of the most recent vintage of the file rather that attr(dd, "version") equal to "current", which is the default. Option "00" is useful for vintage control

vintage_dir

character: Directory to save vintages of x. By default it is a subdirectory at the same level of file

verbose

logical: whether to display additional information. This could be changed in option "stamp.verbose". Default is TRUE

...

not is used right now

Value

object store in file