View source: R/download_functions.R
download_data | R Documentation |
This function downloads data related to the class from the class GitHub repository.
download_data(file_name, mode = "wb")
file_name |
The name the file that has the data. |
mode |
A character indicating the mode with which to write the file. Useful values are "w", "wb" (binary), "a" (append) and "ab". Not used for methods "wget" and "curl". See also ‘Details’, notably about using "wb" for Windows. See download.file() mode argument. |
# Download code from the first class
## Not run: download_data("test_data.rda")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.