729 search results for "maps"

GPS Basemaps in R Using get_map

February 14, 2013
By
GPS Basemaps in R Using get_map

There are many different maps you can use for a background map for your gps or other latitude/longitude data (i.e. any time you're using geom_path, geom_segment, or geom_point.)get_mapHelpfully, there's just one function that will allow you to query Google Maps, OpenStreetMap, Stamen maps, or CloudMade maps: get_map in the ggmap package. You could also use either get_googlemap, get_openstreetmap, get_stamenmap, or get_cloudmademap, but...

Read more »

Visualising 2012 NFL Quarterback performance with R heat maps

February 3, 2013
By
Visualising 2012 NFL Quarterback performance with R heat maps

With only 24 hours remaining in the 2012 NFL season, this is a good time to review how the league's QBs performed during the regular season using performance data from KFFL and the heat mapping capabilities of R. #scale data to mean=0, sd=1 and convert to matrix QBscaled <- as.matrix(scale(QB2012)) #create heatmap and don't reorder

Read more »

Maps in R: choropleth maps

January 23, 2013
By
Maps in R: choropleth maps

This is the third article of the Maps in R series. After having shown how to draw a map without placing data on it and how to plot point data on a map, in this installment the creation of a … Continue reading →

Read more »

Heat maps using R

January 12, 2013
By
Heat maps using R

One of the great things about following blogs on R is seeing what others are doing & being able to replicate and try out things on my own data sets. For example, some great links on rapidly creating heat maps using R. Drawing Heat Maps in R How to Make a Heatmap – a Quick

Read more »

Maps in R: Plotting data points on a map

January 10, 2013
By
Maps in R: Plotting data points on a map

In the introductory post of this series I showed how to plot empty maps in R. Today I'll begin to show how to add data to R maps. The topic of this post is the visualization of data points on … Continue reading →

Read more »

Working with geographical Data. Part 1: Simple National Infomaps

December 21, 2012
By
Working with geographical Data. Part 1: Simple National Infomaps

There is a popular expression in my country called “Gastar polvora en chimangos”, whose translation in English would be “spending gunpowder in chimangos”. Chimango is a kind of bird whose meat is useless for humans. So “spending gunpowder in chimangos” … Continue reading →

Read more »

Maps in R: Introduction – Drawing the map of Europe

December 18, 2012
By
Maps in R: Introduction – Drawing the map of Europe

This post is a brief follow-up to a question that appeared some time ago on the “The R Project for Statistical Computing” LinkedIn group, which I’m reporting here: How can I draw a map of MODERN Europe? Hi, I'm trying … Continue reading →

Read more »

Creating 2011 Census Output Area Change Maps Using R

December 13, 2012
By
Creating 2011 Census Output Area Change Maps Using R

The 2001 Census used a different set of Output Areas (OA) than the current 2011 boundaries; reflecting changes in the spatial distribution of the underlying population. For example, if an area has become more heavily populated since 2001, it makes sense that a previous OA might be split into multiple new segments. The ONS have provided

Read more »

Creating 2011 Census Output Area Change Maps Using R

December 13, 2012
By
Creating 2011 Census Output Area Change Maps Using R

The 2001 Census used a different set of Output Areas (OA) than the current 2011 boundaries; reflecting changes in the spatial distribution of the underlying population. For example, if an area has become more heavily populated since 2001, it makes sense that a previous OA might be split into multiple new segments.The ONS have provided both...

Read more »

US State Maps using map_data()

December 11, 2012
By
US State Maps using map_data()

Today’s short post will show how to make a simple map using map_data(). Let’s assume you have data in a CSV file that may look like this:Notice the lower case state names; they will make merging the data much easier. The variable of inte...

Read more »