sp_create_folder | R Documentation |
Wrapper around the $create_folder()
method from Microsoft365R::ms_drive
sp_create_folder(folder_path, site = NULL, drive = NULL)
folder_path |
Path to the new folder |
site |
Site identifier. Can be the site name, id, URL, or an ms_site object. If no site identifier is provided, uses the stored default site if it exists. |
drive |
Drive identifier. Can be the drive name, id, or an ms_drive object. If site is provided but drive is not, uses the first drive of the provided site. If neither is provided, uses the stored default drive if it exists. |
returns folder_path
invisibly
# Set site/drive defaults
sp_defaults("Data Analytics")
# Create a folder
sp_create_folder("new/folder")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.