Thursday, May 6, 2010

From the R users point of view

From the R environment, the user may issue a request like:

list <- searchD('Database word1 word2...')

And get an R data frame in return. The first few columns of the frame tend to be codes, the later columns more likely text. The R user can list them, or select part of them.

From the list, a:
id <- idD(list)

returns a list of possible, but actual, series ids for list of real data. Do then call like plotD(id) gets plots about the data from R.

A complete example:

plotD(idD(searchD('Employment Houston yearly 1980')))

just like a Google search the qualitity of the data is determined by the users search capability.

No comments: