RC.meta.data {RC}R Documentation

Fetch meta data of a statistical computation

Description

Use this function to download the meta data that is associated with a stored computation. You need to know the exact URL of the computation or use the URL that is returned by the RC.ls() function (see example).

Usage

RC.meta.data(url = "")

Arguments

url url of the computation

Value

This function returns a list which contains several types of meta data about the computation. The actual elements in the list depend on several factors. In most cases the following elements will be available:

type Indicates how the computation has been archived (e.g. 'R module', 'R console', ...
date Date when the computation was archived
uid User id (owner of the computation)
title User defined title
target URL of the R module
rawinput The R code (in raw form) which is sent to the R server
rawoutout The reply from the R server (in raw form)
output Output of the R module in HTML
ylimmax maximum value on y-axis
ylimmin minimum value of y-axis
chartxlab text on x-axis of chart
chartylab text on y-axis of chart
chartheight the height of each chart in pixels
chartwidth the width of each chart in pixels
par<number> value of parameter <number>
parent id of the parent computation
data dataset
newformula R code as specified by the author or user before it is submitted to the R server

Examples

#search for computations with the 'AS2009' keyword
#r <- RC.ls(keyword="AS2009")
#fetch the meta data for the second computation in the list
#md <- RC.meta.data(r$url[2])
#do something useful with the data that was used in the computation
#plot(md$data,type="l",main="Data from the fetched computation")

[Package RC version 1.0.1.27 Index]