googledrive_txt_dl | R Documentation |
Download text from google drive as plain text
googledrive_txt_dl(
filename_gd = NULL,
filename_dl = "googledrive_dl_text",
path = "./",
verbose = TRUE
)
filename_gd |
The file path or filename of the google doc from google drive. |
filename_dl |
The filename you want to download the google doc as. Default = "googledrive_dl_text". |
path |
The path you want to save this file to. Default = "./" |
verbose |
Logical, indicating whether to print informative messages (default TRUE). |
The plain text from the google doc.
# not run:
# googledrive::drive_auth() # Using the first token you have.
# 1
#
# txt <- googledrive_txt_dl(filename_gd = "test123123_doc",
# filename_dl = "test123123_dl",
# verbose = FALSE)
# txt
# for good file keeping, I'll delete these
file.remove('test123123_dl.txt', 'test123123_dl.zip')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.