RGoogleDocs (version 0.7-0)

GoogleDocument-class: Details for a Google Document

Description

This class is used to represent information about a Google Document. It provides details about

Arguments

Objects from the Class

A virtual Class: No objects may be created from it.

Slots

This is an S3 list with dynamic slots at present.
id
URI: the unique URL for the document
published
POSIXt, POSIXct: date the document was published
updated
POSIXt, POSIXct: the date when the document was last updated/modified
category
character: the type of the document, e.g. spreadsheet, presentation, document
title
character: the name of the document
content
character: gives the type and the URL for the document
alternate
character: gives the type and URL for the alternative location of this document.
self
character vector: rel, type and href giving the URL for the document
edit
character vector: rel, type and href giving the URL for editing the document
edit-media
character vector: rel, type and href elements.
author
named character vector: gives the author's name and email address as the name
feedLink
character vector: rel and href givng the general link for the document.
http://schemas.google.com/spreadsheets/2006\#worksheetsfeed
URL: only for spreadsheets. This is the URL for the feed for the accessing the worksheets within the spreadsheet

Extends

Class "oldClass", directly.

Methods

[<- and $<- allow one to set meta data such as the title of a document on the Google server (i.e. not locally) rename is a generic with methods for documents that allows one to easily set the title of a document/folder. names on a GoogleFolder gives the titles of the documents contained in that folder.

See Also

getDocs getWorksheets getExtent comments images comments footnotes

Examples

Run this code
if(exists("GoogleDocsPassword")) {
          # getGoogleDocsConnection("my login", "my password")

  con = getGoogleDocsConnection(names(GoogleDocsPassword), GoogleDocsPassword)
  getDocs(con)
}

Run the code above in your browser using DataCamp Workspace