2684 search results for "Map"

Hive Plots using R and Cytoscape

Hive Plots using R and Cytoscape

(This article was first published on Deciphering life: One bit at a time :: R, and kindly contributed to R-bloggers) I found out about HivePlots this past summer, and although I thought they looked incredibly useful and awesome, I didn't have a personal use for them at the time, and therefore put off doing anything with them. That recently...

Read more »

Introduction to Spatial Data and ggplot2

December 9, 2013
By
Introduction to Spatial Data and ggplot2

For those starting out with spatial data in R, Robin Lo

Read more »

Tim Hortons Density

Tim Hortons Density

Tim Hortons Density Inspired by this post, I wanted to examine the locations and density of Tim Hortons restaurants in Canada. Using Stats Canada data, each census tract is queried on Foursquare for Tims locations. Setup options(stringsAsFactors = F) require(timmysDensity) require(plyr) require(maps) require(ggplot2) require(geosphere) Statistics Canada Census Data The actual Statistics Canada data at the dissemination block level can be downloaded from here. You will want to...

Read more »

Fukushima region radiation decrease

December 8, 2013
By
Fukushima region radiation decrease

Fukushima is still a topic which gets headlines, and somewhere in a comment was a link to actual and historical radiation data: Fukushima prefecture radioactivity measurement map.  It takes a bit of time to load but then you have a map of the Fukushima region with current radiation levels at measurement stations. Somewhere on that website there is...

Read more »

24 Days of R: Day 8

December 7, 2013
By
24 Days of R: Day 8

I saved the data from the last post which shows the percentage of Republican voters in each county. In addition to that column, I also have figures from the 2010 census. This will show things like age, ethnicity, urbanization and home ownership. Those census figures show actual population counts, so they'll need to be altered

Read more »

24 Days of R: Day 7

December 7, 2013
By
24 Days of R: Day 7

Carrying on from the last post, I'm going to take a closer look at election results for the 2012 US presidential election in North Carolina. This state's 15 electoral votes went to the Republican, Mitt Romney. On the US electoral college map, that means the state shows up as red. As I write this, I'm

Read more »

Random points on the Earth

December 7, 2013
By
Random points on the Earth

The problem with puzzles is that you keep it in your head for days, until you find an answer. Or at least some ideas about a possible answer. This is what happened to me a few weeks ago, when a colleague of mine asked me the following question : Consider points uniformly distributed on a sphere. What is the...

Read more »

24 Days of R: Day 6

December 6, 2013
By
24 Days of R: Day 6

I've finally had some success at munging some HTML. For quite some time, I've wanted to render a county level choropleth for US presidential election results. The numbers are all there on Politico.com, but attempts to use readHTMLTable never returned the full set of data. It still doesn't, but I have sorted out how to

Read more »

New package: jsonlite. A smart(er) JSON encoder/decoder.

December 6, 2013
By
New package: jsonlite. A smart(er) JSON encoder/decoder.

This week we released a new package on CRAN: jsonlite. This package is a fork of RJSONIO by Duncan Temple Lang and builds on the same parser, but uses a different mapping between R objects and JSON data. The package vignette goes in great detail and has many examples on...

Read more »

New package: jsonlite. A smart(er) JSON encoder/decoder.

December 6, 2013
By
New package: jsonlite. A smart(er) JSON encoder/decoder.

This week we released a new package on CRAN: jsonlite. This package is a fork of RJSONIO by Duncan Temple Lang and builds on the same parser, but uses a different mapping between R objects and JSON data. The package vignette goes in great detail and has many examples on...

Read more »