2145 search results for "map"

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 »

Contour and Density Layers with ggmap

December 13, 2013
By
Contour and Density Layers with ggmap

I am busy working on a project which uses data from the World Wide Lightning Location Network (WWLLN). Specifically, I am trying to reproduce some of the results from Orville, Richard E, Gary R. Huffines, John Nielsen-Gammon, Renyi Zhang, Brandon Ely, Scott Steiger, Stephen Phillips, Steve Allen, and William Read. 2001. “Enhancement of Cloud-to-Ground Lightning

Read more »

Introducing CrimeMap – A Web App Powered by ShinyApps!

November 29, 2013
By
Introducing CrimeMap – A Web App Powered by ShinyApps!

A few months ago I did a mini project using open crime data and R to create crime visualisations. At that time, I was already thinking about a web app using Shiny but I couldn't justify the time to develop the app and then set up a server etc. Not unti...

Read more »

Mapping Power Outages in Maine Dynamically with Shiny/R

November 27, 2013
By

I decided to forego the D3 map mentioned in the previous post in favor of a Shiny one since I had 90% of the mapping code written. I binned the ranges into three groups, changed the color over to something more pleasant (with RColorBrewer), added an interactive table for the counties with outage and have

Read more »

Mapping Power Outages In Maine With R

November 27, 2013
By
Mapping Power Outages In Maine With R

UPDATE: A Shiny (dynamic) version of this is now available. We had yet-another power outage this morning due to the weird weather patterns of the week and it was the final catalyst I needed to crank out some R code to map the affected counties. Central Maine Power provides an outage portal where folks can

Read more »

Mapping Foodborne Chicago Reports

November 25, 2013
By
Mapping Foodborne Chicago Reports

I help out with a project called Foodborne Chicago, where we search twitter for people in Chicago mentioning "food poisoning" and @reply to them with a link where they can file a report with the city of Chicago's Department of Public Health. The applic...

Read more »

R: Mapping Super Typhoon Yolanda (Haiyan) Track

November 24, 2013
By
R: Mapping Super Typhoon Yolanda (Haiyan) Track

After reading Enrico Tonini post, I decided to map the super typhoon Haiyan track using OpenStreetMap, maptools, and ggplot2. If mapping with googleVis was possible with 13 lines only, that can also be achieved with the packages I used; but because I p...

Read more »