gt_cleanup_data {geysertimes} | R Documentation |
Cleanup Old GeyserTimes Data Files
Description
Removes a particular version of the GeyserTimes data files
that have been download and stored on disk by gt_get_data
.
Alternatively, the function will remove all old versions
of the GeyserTimes data files,
keeping only the most recent files.
Usage
gt_cleanup_data(version = NULL, old = FALSE, path = gt_path())
Arguments
version |
a character value,
the specific version of the GeyserTimes data files to be removed.
The version number is the date that the files were downloaded,
with the format |
old |
a logical value, if |
path |
a character value, the location on disk where the GeyserTimes data files. |
Details
Users who regularly download the latest GeysersTimes data may
want to call gt_cleanup_data(old=TRUE)
to
clean out old copies of the data.
Value
a character vector, the versions of the data files that were removed.
If no files are removed, NULL
is returned.
Author(s)
Stephen Kaluzny <spkaluzny@gmail.com>
See Also
Examples
# see the example in the gt_get_data help file.