Description Usage Arguments Details See Also Examples
This is a wrapper for 'foreign::write.dta()', use is identical to the original function.
1 2 | write.dta_vc(dataframe, file, ..., stamp = Sys.Date(),
version_control = "DATA_VC", verbose = FALSE)
|
dataframe |
a data frame |
file |
character string giving filename. |
... |
other params for write.dta 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 |
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 | make_data_vc()
foreign::write.dta_vc(cars, "my_cars.dta", verbose = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.