searchDocs

0th

Percentile

Search for text in Google Documents

This function allows one to searchidentify all, or some subsets, of the Google Documents in an account to look for a particular matching text. One specifies the text to be matched and a connection to the Google Docs account and then search is done on the server. The return value is either a list or a data frame describing the matching documents.

This is essentially a convenience function that can be done with getDocs

Keywords
IO
Usage
searchDocs(text, con = getGoogleDocsConnection(), as.data.frame = FALSE, url = GoogleURLs["documents"])
Arguments
text
the text to be searched for in the Google documents
con
the authenticated connection to the Google Docs account
as.data.frame
a logical value indicating whether to return the information about each document as a row in a data frame or as individual GoogleDocument objects.
url
the type of documents to fetch, e.g. documents or spreadsheets. One can specify a value in GoogleURLs or use a name from this vector.
Value

A list of GoogleDocumentDescription objects or a data frame.

References

http://code.google.com/apis/documents/docs/2.0/developers\_guide\_protocol.html#Querying

See Also

getDocs

Aliases
  • searchDocs
Examples

## Not run: 
#  searchDocs("a",con, url = "https://docs.google.com/feeds/documents/private/full/-/document")
#    # Restrict the search to only word processing documents
#  searchDocs("a",con, url = "https://docs.google.com/feeds/documents/private/full/-/document")
# ## End(Not run)

Documentation reproduced from package RGoogleDocs, version 0.7-0, License: BSD

Community examples

Looks like there are no examples yet.