View source: R/versionControl.R View source: R/deprecated/dataVersionControl.R
Download the example data set from JCur96/sfe (\urlhttps://github.com/JCur96/sfe/)
1 2 3 4 5 6 7 | mydata(version = NULL, path = NULL)
mydata_versions(local = TRUE, path = NULL)
mydata_version_current(local = TRUE, path = NULL)
mydata_del(version, path = NULL)
|
version |
Version number. The default will load the most recent version on your computer or the most recent version known to the package if you have never downloaded the data before. With \codesfe_del, specifying \codeversion = NULL will delete \emphall data sets. |
path |
Path to store the data at. If not given, \codedatastorr will use \coderappdirs to find the best place to put persistent application data on your system. You can delete the persistent data at any time by running \codesfe_del(NULL) (or \codesfe_del(NULL, path) if you use a different path). |
local |
Logical indicating if local or github versions should be polled. With any luck, \codelocal = FALSE is a superset of \codelocal = TRUE. For \codesfe_version_current, if \codeTRUE, but there are no local versions, then we do check for the most recent github version. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.