stalkR is a set of simple convenience functions in R for exploring your iPhone or iPad location data
Last update: 2011-04-25
Removed dependency on R 2.13 list.dirs() function
Fixed bug on weird apostrophe's on my iDevice names
As discovered by Alasdair Allan and Pete Warden (http://petewarden.github.com/iPhoneTracker/), iPhone and iPad devices have been silently recording the location of the device. This package contains three convenience functions for parsing the location data and visualizing it.
This package only works on Mac OS X, which is why I am not adding it to CRAN. Remember, this is is just for fun :)
Also, this was thrown together pretty fast, so please let me know when it breaks.
stalkR_0.03.tar.gz file above, and run the following command in the R console:
> install.packages("stalkR_0.03.tar.gz", repos=NULL, type="source")
Remember: you must be in the same working directory as where you saved the source.
To run the code, you need only two bits of information:
- You user name on your computer. On Mac OS X this will be the directories listed under
- The name of the device you wish to explore, exactly as it appears in iTunes.
In my case, we can visualize my travel in Maryland, MD, USA with the following commands:
> library(stalkR) > drews.locs<-get.mylocations("agconway", "Drew Conway's iPhone") > viz.locations(drews.locs, "state", "maryland")