2622 search results for "map"

Live Earthquake Map with Shiny and Google Map API

May 27, 2015
By
Live Earthquake Map with Shiny and Google Map API

In the post Exchange data between R and the Google Maps API using Shiny I presented a very simple way to allow communication between R and javascript using shiny.This is an example of a practical approach for which that same system can be used to create a useful tool to visualize seismic events collected from USGS in...

Read more »

Creating Styled Google Maps in ggmap

May 27, 2015
By
Creating Styled Google Maps in ggmap

In R, my go to package for creating maps is ggmap. Using this, one can create maps using a variety of services, including Google maps. I just recently discovered the ability to create a styled version of a Google map. Let's go through this process to create a black and white map of Chicago, with the parks...

Read more »

Interactive maps of Crime data in Greater London

May 25, 2015
By
Interactive maps of Crime data in Greater London

In the previous post we looked at ways to perform some introductory point pattern analysis of open data downloaded from Police.uk. As you remember we subset the dataset of crimes in the Greater London area, extracting only the drug related ones. Subseq...

Read more »

Unsupervised Google Maps image classification

May 19, 2015
By
Unsupervised Google Maps image classification

This is a guest post by Florian Detsch Prerequisites Required packages First, we need to (install and) load some packages required for data processing and visualization. The below code is mainly based on the Rsenal package, which is a steadily … Continue reading →

Read more »

Interactive maps for the web in R

May 15, 2015
By
Interactive maps for the web in R

Static MapsIn the last post I showed how to download economic data from the World Bank's website and create choropleth maps in R (Global Economic Maps).In this post I want to focus more on how to visualize those maps.Sp PackageProbably the simplest way...

Read more »

U.S. Drought Monitoring With Hexbin State Maps in R

May 15, 2015
By
U.S. Drought Monitoring With Hexbin State Maps in R

On the news, today, of the early stages of drought hitting the U.S. northeast states I decided to springboard off of yesterday’s post and show a more practical use of hexbin state maps than the built-in (and still purpose unknown to me) “bees” data. The U.S. Drought Monitor site supplies more than just a pretty

Read more »

Global Economic Maps

May 12, 2015
By
Global Economic Maps

IntroductionIn this post I am going to show how to extract data from web pages in table format, transform these data into spatial objects in R and then plot them in maps.ProcedureFor this project we need the following two packages: XML and raster.The first package is used to extract data from HTML pages, in particular from the sections marked...

Read more »

All Paths Lead to the EARL Conference with ggplot2 & ggmap

May 11, 2015
By
All Paths Lead to the EARL Conference with ggplot2 & ggmap

By Rich Pugh, Commercial Director I was recently at LondonR, where I saw James Cheshire discussing the ways in which he created stunning maps for his book, London:  The Information Capital, using R.  If you want a glimpse of James’ … Continue reading →

Read more »

Exchange data between R and the Google Maps API using Shiny

May 10, 2015
By

A couple of years ago I wrote a post about using Shiny to exchange data between the Google Maps API and R: http://r-video-tutorial.blogspot.ch/2013/07/interfacing-r-and-google-maps.htmlBack then as far as I remember Shiny did not allow a direct exchange of data between javascript, therefore I had to improvise and extract data indirectly using an external table. In other words, that work was not...

Read more »

Cohort Analysis with Heatmap

Cohort Analysis with Heatmap

Previously I shared the data visualization approach for descriptive analysis of progress of cohorts with the “layer-cake” chart (part I and part II). In this post, I want to share another interesting visualization that not only can be used for descriptive analysis as well but would be more helpful for analyzing a large number of cohorts.... Read More »

Read more »