730 search results for "maps"

Easy data maps with R: the choroplethr package

January 21, 2014
By
Easy data maps with R: the choroplethr package

Choropleth maps are a popular way of representing spatial or geographic data, where a statistic of interest (say, income, voting results or crime rate) are color-coded by region. R includes all of the necessary tools for creating choropleth maps, but Trulia's Ari Lamstein has made the process even easier with the new choroplethr package now available on github. With...

Read more »

Metaphors Matter: Factor Structure vs. Correlation Network Maps

January 17, 2014
By
Metaphors Matter: Factor Structure vs. Correlation Network Maps

The psych R package includes a data set called "bfi" with self-report ratings on 25 personality items along a 6-point agreement scale. All the details are provided in the documentation accompanying the package. My focus is how to represent the correlat...

Read more »

Quilt plots. Like heat maps, only…heat maps

January 15, 2014
By
Quilt plots. Like heat maps, only…heat maps

Stephen tweets: Quilt Plots: A Simple Tool for the #Visualisation of Large Epidemiological Data buff.ly/1doSx4X— Stephen Rudd (@SAGRudd) January 15, 2014 Quilt plots. Sounds interesting. The link points to a short article in PLoS ONE, containing a table and a figure. Here is Figure 1. If you looked at that and thought “Hey, that’s a

Read more »

Google Maps and ggmap

December 22, 2013
By
Google Maps and ggmap

The ggmap package can be used to access maps from the Google Maps API and there are a number of examples on various statistics related blogs. These include here, here and here. The ggmap package has a function get_map that can download maps from various sources including Google Maps. require(ggmap) The first example specifies the

Read more »

Interactive maps with polygons using R, Geojson, and Github

October 22, 2013
By

Previously on this blog we have discussed making geojson maps and uploading to Github for interactive visualization with USGS BISON data, and with GBIF data, and on my own personal blog. This is done using a file format called geojson, a file format based on JSON (JavaScript Object Notation) in which you can specify geographic...

Read more »

FEMA’s Flood Insurance Program – Analysis & Maps using R

October 20, 2013
By

The National Flood Insurance Program (NFIP) by the Federal Emergency Management Agency (FEMA) in the United States enables property owners in participating communities to purchase insurance protection from the government against losses from flooding (h...

Read more »

Big and small daycares in Toronto by building type, mapped using RGoogleMaps and Toronto Open Data

October 17, 2013
By
Big and small daycares in Toronto by building type, mapped using RGoogleMaps and Toronto Open Data

Before my daughter was born, I thought that my wife and I would have to send her to a licensed child care centre somewhere in Toronto.  I had heard over and over how long of a waiting list I should … Continue reading →

Read more »

Batch Geocoding with R and Google maps

October 12, 2013
By
Batch Geocoding with R and Google maps

I’ve recently wanted to geocode a large number of addresses (think circa 60k) in Ireland as part of a visualisation of the Irish property market. Geocoding can be simply achieved in R using the geocode() function from the ggmap library. The geocode function uses Googles Geocoding API to turn addresses from text to latitude and

Read more »

Using Google maps API and R

September 3, 2013
By
Using Google maps API and R

This post shows how to use Google Maps‘ API with R. Combine the first part with Plyr and it becomes a very powerful tool in just a few lines of code. You can find a gist in RMarkdown with the code here or click below to continue reading. The post Using Google maps API and R appeared first on

Read more »

Using Heatmaps to Uncover the Individual-Level Structure of Brand Perceptions

August 16, 2013
By
Using Heatmaps to Uncover the Individual-Level Structure of Brand Perceptions

Heatmaps, when the rows and columns are appropriately ordered, provide insight into the data structure at the individual level.  In an earlier post I showed a cluster heatmap with dendrograms for both the rows and the columns.  In addition, I...

Read more »