Visualizing Bikeshare Data

Seattle’s Pronto bikeshare system recently announced a Data Challenge for data visualization using their first year of trip data. As avid cyclists and data analysis junkies, we of course took the bait. Below is a brief description of our Pronto Databrowser submission.   read more …

Posted in Data Visualization, R | Tagged , , | 2 Comments

Function Argument Lists and missing()

Sometimes it is useful to write a wrapper function for an existing function. In this short example we demonstrate how to grab the list of arguments passed to a function and use it to call another function, taking care of optional arguments with or without default values.   read more …

Posted in R | Leave a comment

MazamaSpatialUtils — Ebola Map Example

The MazamaSpatialUtils package on CRAN has just been updated with additional shape file conversion scripts and location buffering so that points located just outside of polygons (i.e. coastal sites) can still be associated with the nearest neighboring polygon.  This package can now be used as an off-line equivalent for the functionality available at the geonames web service.

In this post I will demonstrate how to use the package to duplicate the kind of high quality maps one sees elsewhere on the internet.

  read more …

Posted in Data Visualization, R | Tagged , , , , | Leave a comment

Installing subversion 1.7.10 on OSX Yosemite

You can’t call me a luddite any more — I finally started upgrading my mid-2010 MacBook Pro with 8GB of RAM to OSX 10.10 — Yosemite. Trickiest thing so far was installing an older version of Subversion. Here are my upgrade steps:   read more …

Posted in Uncategorized | Tagged , , | Leave a comment

MazamaSpatialUtils Package

Mazama Science has just released its first package on CRAN — MazamaSpatialUtils. Here is the description:

A suite of conversion scripts to create internally standardized spatial polygons dataframes. Utility scripts use these datasets to return values such as country, state, timezone, watershed, etc. associated with a set of longitude/latitude pairs. (They also make cool maps.)

In this post we discuss the reasons for creating this package and provide examples of its use.   read more …

Posted in Data Management, R | Tagged , , , , | Leave a comment