2501 search results for "Map"

R & Google Maps and R & Robotics (ROS)

R & Google Maps and R & Robotics (ROS)

The next RBelgium meetup will be about R & Google Maps and R & Robotics (ROS). BNOSAC will be hosting the event this time. This is the schedule: • 17h30-18h: open questions • 18h-19h: R and Google Maps • 19h-20h: R and...

Read more »

Interactive Maps for John Snow’s Cholera Data

March 28, 2015
By
Interactive Maps for John Snow’s Cholera Data

This week, in Istanbul, for the second training on data science, we’ve been discussing classification and regression models, but also visualisation. Including maps. And we did have a brief introduction to the  leaflet package, devtools::install_github("rstudio/leaflet") require(leaflet) To see what can be done with that package, we will use one more time the John Snow’s cholera dataset, discussed in previous...

Read more »

Simple Lower US 48 Albers Maps & Local (no-API) City/State Geocoding in R

March 15, 2015
By
Simple Lower US 48 Albers Maps & Local (no-API) City/State Geocoding in R

I’ve been seeing an uptick in static US “lower 48″ maps with “meh” projections this year, possibly caused by a flood of new folks resolving to learn R but using pretty old documentation or tutorials. I’ve also been seeing an uptick in folks needing to geocode US city/state to lat/lon. I thought I’d tackle both

Read more »

Extracting Heatmap

March 11, 2015
By

Inspired by this tweet, I wanted to try to do something similar in JavaScript. Very cool hack: Extracting the original data from a heatmap image with R vector ops #rstats http://t.co/Lbi6FCXdrI pic.twitter.com/LCabkMGjXY— Gregory Piatetsky (@kdnugge...

Read more »

NYC Motor Vehicle Collisions – Street-Level Heat Map

March 10, 2015
By
NYC Motor Vehicle Collisions – Street-Level Heat Map

In this post I will extend a previous analysis creating a borough-level heat map of NYC motor vehicle collisions. The data is from NYC Open Data. In particular, I will go from borough-level to street-level collisions. The processing of the code is very similar to the previous analysis, with a few more functions that map streets to colors. … Continue reading...

Read more »

Extracting the original data from a heatmap image

March 4, 2015
By
Extracting the original data from a heatmap image

The paper Analysis of the Linux Kernel Evolution Using Code Clone Coverage analysed 136 versions of Linux (from 1.0 to 2.6.18.3) and calculated the amount of source code that was shared, going forward, between each pair of these versions. When I saw the heatmap at the end of the paper (see below) I knew it

Read more »

Mapping Paris bikes stands

March 3, 2015
By
Mapping Paris bikes stands

A Sharp Sight Labs reader (and now student), Jason P. recently started learning data science. He has a background in data analysis (primarily with Excel and related tools in the Microsoft ecosystem) but he wanted to start learning some of the harder skills of data science. He contacted me after he had diligently reviewed past The post

Read more »

John Snow, and Google Maps

February 27, 2015
By
John Snow, and Google Maps

In my previous post, I discussed how to use OpenStreetMaps (and standard plotting functions of R) to visualize John Snow’s dataset. But it is also possible to use Google Maps (and ggplot2 types of graphs). library(ggmap) get_london <- get_map(c(-.137,51.513), zoom=17) london <- ggmap(get_london) Again, the tricky part comes from the fact that the coordinate representation system, here, is not...

Read more »

John Snow, and OpenStreetMap

February 27, 2015
By
John Snow, and OpenStreetMap

While I was working for a training on data visualization, I wanted to get a nice visual for John Snow’s cholera dataset. This dataset can actually be found in a great package of famous historical datasets. library(HistData) data(Snow.deaths) data(Snow.streets) One can easily visualize the deaths, on a simplified map, with the streets (here simple grey segments, see Vincent Arel-Bundock’s...

Read more »

Making Maps in R with Ryan Peek and Michele Tobias

February 20, 2015
By

Today, Ryan Peek and Michele Tobias gave an introduction to making maps in R. Here’s the webcast: (Pardon the little scuffle at the beginning and as we switched computers halfway through. Still getting the hang of hangouts.) Resources: Download all of Ryan’s code and HTML files here. See Michele’s slides on Slideshare here. Code for Michele’s example maps...

Read more »