Description Usage Arguments Value See Also Examples
This is a wrapper for write.csv, you can use it exactly as you would use write.csv. Internally it checks for the data version control file, and inserts or updates the record for the file that you are saving. The tracking is applied to the 'file'
1 2 | write.csv_vc(x, file, ..., stamp = Sys.Date(),
version_control = "DATA_VC", verbose = FALSE)
|
x |
the object to be written, preferably a matrix or data frame. If not, it is attempted to coerce x to a data frame. |
file |
either a character string naming a file or a connection open for writing. "" indicates output to the console. |
... |
other params for write.csv see |
stamp |
file suffix to disambiguate, default is Sys.Date() |
version_control |
name of data version control file. Default is 'data_vc'. Should match name used in 'make_data_vc'. |
verbose |
logical, report update to version control file? Default is FALSE |
NULL invisibly
1 2 | make_data_vc()
write.csv_vc(cars, "my_cars.csv", verbose = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.