2371 search results for "map"

The leaflet package for online mapping in R

January 31, 2015
By
The leaflet package for online mapping in R

It has been possible for some years to launch a web map from within R. A number of packages for doing this are available, including: RgoogleMaps, an interface to the Google Maps api leafletR, an early package for creating Leaflet maps with R rCharts, which can be used as a basis for webmaps In this tutorial we use...

Read more »

Rediscovering Formula One Race Battlemaps

January 31, 2015
By
Rediscovering Formula One Race Battlemaps

A couple of days ago, I posted a recipe on the F1DataJunkie blog that described how to calculate track position from laptime data. Using that information, as well as additional derived columns such as the identity of, and time to, the cars immediately ahead of and behind a particular selected driver, both in terms of

Read more »

Assessing mapdata world coastline

January 27, 2015
By
Assessing mapdata world coastline

Introduction The mapdata R package contains a coastline called worldHires which is contained within a text file with a bit over 2 million lines. Since the coastlineWorldFine dataset in the ocedata package contains about 0.5 million points, I thought I would explore how much better the mapdata coastline might be. Methods First, I wrote the following C file to translate the...

Read more »

Building a choropleth map of Italy using mapIT

January 19, 2015
By
Building a choropleth map of Italy using mapIT

In the R environment, different packages to draw maps a

Read more »

Multivariate analysis of death rate on the map of Europe

January 11, 2015
By
Multivariate analysis of death rate on the map of Europe

Eurostat has information on death rates by cause and NUTS 2 region. I am trying to get this visually displayed on the map. To get there I map all causes to three dimensions via a principal components analysis. These three dimensions are subsequently tr...

Read more »

Do You Know What You Show at Your Map?

January 10, 2015
By
Do You Know What You Show at Your Map?

As access to the GIS and mapping is becoming easier every year the more people and companies create maps. Unfortunately often they just do not know what they are actually showing at their maps. This issue is being mentioned over and over again.  Here is the example that I discovered recently: Cyberthreat Real-Time Map by Kaspersky...

Read more »

WrightMap: Multifaceted models

January 7, 2015
By
WrightMap: Multifaceted models

We received an email from a user who was interested in displaying results from a multifaceted model in WrightMap. In the WrightMap manual, we show how to use multifaceted results from ConQuest: fpath <- system.file("extdata", package = "WrightMap") model4 <- CQmodel(file.path(fpath, "ex4a.mle"), file.path(fpath, "ex4a.shw")) wrightMap(model4, item.table = "rater", interactions = "rater*topic", step.table = "topic") (See this tutorial for more details.) But...

Read more »

Creating a custom soil attribute plot using ggmap

January 6, 2015
By
Creating a custom soil attribute plot using ggmap

Cusby Ryan Garner Senior Data Scientist, Revolution Analytics I love creating spatial data visualizations in R. With the ggmap package, I can easily download satellite imagery which serves as a base layer for the data I want to represent. In the code below, I show you how to visualize sampled soil attributes among 16 different rice fields in Uruguay....

Read more »

Mapping Seattle Crime

January 6, 2015
By
Mapping Seattle Crime

Last week I published a data visualization of San Francisco crime. This week, I’m mapping Seattle crime data. The map above is moderately complicated to create, so I’ll start this tutorial with a simpler case: the dot distribution map. Seattle crime map, simplified version First, we’ll start by loading the data. Note that I already The post

Read more »

Mapping IPv4 Address (with Hilbert curves) in R

January 2, 2015
By
Mapping IPv4 Address (with Hilbert curves) in R

While there’s an unholy affinity in the infosec commuinty with slapping IPv4 addresses onto a world map, that isn’t the only way to spatially visualize IP addresses. A better approach (when tabluation with bar charts, tables or other standard visualization techniques won’t do) is to map IPv4 addresses into Hilbert space-filling curve. You can get a good feel...

Read more »