moveToFolder | R Documentation |
This function allows us to move a document, be it a spreadsheet, word processing document, presentation or folder, into a Google Docs folder on the repository.
moveToFolder(doc, to, con = if (is(doc,"GoogleDocumentDescription"))
doc@connection
else
getGoogleDocsConnection())
doc |
the document (spreadsheet, word processing document, folder, presentation) to be moved. This should be a GoogleDocumentDescription, but can be a name. |
to |
the folder object of class GoogleFolder, or a name. |
con |
an authenticated connection to the Google API. See |
A GoogleFolder
Duncan Temple Lang
http://code.google.com/apis/documents/docs/2.0/developers\_guide\_protocol.html
addFolder
if(exists("GoogleDocsPassword")) {
con = getGoogleDocsConnection()
a = addFolder("A", con)
b = addFolder("B", con)
c = addFolder("C", con)
moveToFolder(b, a, con)
moveToFolder(c, a, con)
f = addFolder(c("One", "Two", "Three"), con)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.