View source: R/drive_new_from_template.R
drive_new_from_template | R Documentation |
Create a new Galactic Polymath Google Drive file from a template file.
drive_new_from_template(
template_path = NULL,
dest_path = NULL,
new_name = FALSE,
new_name_gsub = NULL,
exact_match = TRUE,
WD = NULL,
drive_root = NULL,
overwrite = NA,
...
)
template_path |
i.e. the FROM path; a text string of a path to a template to pass to |
dest_path |
i.e. the TO path; text string of a path where you want to file to go |
new_name |
text string(s) of what you'd like to name your new file. default=FALSE maintains the original name; NULL results in "Copy of FILENAME"; passed to |
new_name_gsub |
alternate name specification (don't specify new_name if specifying new_name_gsub); default= NULL |
exact_match |
passed to |
WD |
passed to |
drive_root |
passed to |
overwrite |
Do you want to overwrite an existing file? default=NA means overwrite. Other options T or F are very inefficient; passed to |
... |
pass other arguments to Google Drive API (see |
If you're wanting to copy meta/ google sheets, check out init_lesson_meta()
Other Google Drive Functions:
drive_contents()
,
drive_copy_missing_files()
,
drive_cp_dir()
,
drive_find_path()
,
drive_get_info()
,
drive_inSync()
,
drive_open()
,
init_lesson_meta()
,
update_teach_links()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.