RGoogleDocs (version 0.7-0)

publicWorksheet: Create reference to a public Google document

Description

This function gives us an object which references a public Google document (worksheet).

Usage

publicWorksheet(key, curl = getCurlHandle(), obj = new("GoogleSpreadsheet"))

Arguments

key
the key identifying the public Google document
curl
the curl handle to use when querying this document (in the future). This can be NULL.
obj
an instance of the desired R type. This is filled in and then returned. This allows the caller to pass an instance of a derived class.

Value

The updated object obj.

See Also

sheetAsMatrix

Examples

Run this code

  wb = publicWorksheet("phAwcNAVuyj2tPLxKvvnNPA")
  ws = getWorksheets(wb, NULL)
  o = sheetAsMatrix(ws[[1]], con = NULL)

Run the code above in your browser using DataLab