997 search results for "maps"

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 »

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 »

choroplethrZip v1.3.0: easier demographics, national maps

April 28, 2015
By
choroplethrZip v1.3.0: easier demographics, national maps

Introduction choroplethr v3.0 is now available on github. You can get it by typing # install.packages("devtools") library(devtools) install_github('arilamstein/[email protected]') Version 1.3.0 has two new features: Data frame df_zip_demographics contains eight demographic statistics about each ZIP Code Tabulated Area (ZCTA) in the US. Data comes from the 2013 5-year American Community Survey (ACS). Function ?get_zip_demographics will return

Read more »

choroplethrZip v1.3.0: easier demographics, national maps

April 28, 2015
By
choroplethrZip v1.3.0: easier demographics, national maps

Introduction choroplethr v3.0 is now available on github. You can get it by typing # install.packages("devtools") library(devtools) install_github('arilamstein/[email protected]') Version 1.3.0 has two new features: Data frame df_zip_demographics contains eight demographic statistics about each ZIP Code Tabulated Area (ZCTA) in the US. Data comes from the 2013 5-year American Community Survey (ACS). Function ?get_zip_demographics will return

Read more »

Visualisation with R and Google Maps

For those of you who are interested in using R alongside Google Maps by using the packages geonames (www.geonames.org), RgoogleMaps, ggmap, loa and plotKML. Enjoy the slides of our presentation on this topic during the last RBelgium meetup. &nbs...

Read more »

R User Group Recap: Heatmaps and Using the caret Package

April 10, 2015
By
R User Group Recap: Heatmaps and Using the caret Package

At our most recent R user group meeting we were delighted to have presentations from Mark Lawson and Steve Hoang, both bioinformaticians at Hemoshear. All of the code used in both demos is in our Meetup’s GitHub repo.Making heatmaps in RSteve started with an overview of making heatmaps in R. Using the iris dataset, Steve demonstrated...

Read more »

Recreating the vaccination heatmaps in R

April 9, 2015
By
Recreating the vaccination heatmaps in R

In February the WSJ graphics team put together a series of interactive visualisations on the impact of vaccination that blew up on twitter and facebook, and were roundly lauded as great-looking and effective dataviz. Some of these had enough data available to look … Continue reading →

Read more »

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 »