addFolder | R Documentation |
These functions allow us to create a new folder in the Google Docs repository and also to list the documents within a folder.
addFolder(name, con, url = GoogleURLs["documents"])
listFolder(doc, con = doc@connection, as.data.frame = FALSE, asXML = FALSE)
name |
a character string giving the name of the folder to be created. |
con |
an authenticated connection to the Google Docs repository, for the writely service, not the wise service for spreadsheets. |
url |
the URL where the request is to be posted. This is the default top-level of the repository. |
doc |
the folder whose contents are to be listed. This can be a |
as.data.frame |
a logical value indicating whether the information about the collection of
documents should be returned as a data frame or left as a list of |
asXML |
a logical value indicating whether the XML returned from the request to list the contents of the folder should be returned directly as a parsed XML document. |
addFolder
returns an object of class GoogleFolder-class
.
listFolder
returns a list of GoogleDocumentDescription-class
objects or a data frame. See getDocs
.
Duncan Temple Lang
getGoogleDocsConnection
getDocs
moveToFolder
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.