UPDATE 12/03/13: Since Nest Labs’ move to an official API, the code below no longer works. Still, a good example of a webservice connection… Gets “energy_latest” (10 days of usage) data from Nest Labs: Advertisements
To identify data frames in a workspace, and iterate over them by name, use Filter() with a few other functions: Here, objects() lists objects in the workspace, class() identifies their classes, and sapply() looks at each object in turn, returning … Continue reading
Alaska and Hawaii represented in a typical state-level choropleth map — i.e. below the Southwestern border states. Turns-out it’s not that straightforward to do. After some tinkering… …the result: Seems as though the AK and HI portions of the layout … Continue reading
Q: If a large working fan is blowing on an air quality sensor, will the data be biased?
Pic of a Bottlenose dolphin (Tursiops truncatus) breaching during cooperative hunting activity; May River, Beaufort County, South Carolina. Amazing.
From a “long” data frame with columns containing the names of measured properties and corresponding vectors of values, attempting to make a “wide” data frame with a column for each measured property. Appears as though the cast() function of the reshape … Continue reading