create_download_link | R Documentation |
Create download link within an RMarkdown log file
create_download_link(
data,
logfile,
filename,
linktext = "Download the data",
include.row.names = FALSE,
verbose = F
)
data |
data to be downloaded |
logfile |
the main log file filepath |
filename |
name of the csv file to be downloaded |
linktext |
text on the download link |
include.rownames |
should rownames of the dataframe be included in the CSV file? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.