Blog Archives

mapmate 0.2.0

November 15, 2016
By
mapmate 0.2.0

mapmate has now been updating from version 0.1.0 to 0.2.0 on Github. The key change is the incorporation of new functions, help docs and code examples focused on network maps, which is a more complex map type not previously covered. The new tutorial content below provides a a couple basic code examples for making network

Read more »

mapmate 0.1.0

November 1, 2016
By
mapmate 0.1.0

mapmate has now been updating from version 0.0.2 to 0.1.0 on Github. The biggest addition is a number of plotting options for making different kinds of maps. The new tutorial content below provides a number of code examples for making a variety of maps and also highlights current limitations associated with certain map types and

Read more »

mapmate 0.0.2

October 26, 2016
By
mapmate 0.0.2

mapmate is an R package for map- and globe-based data animation pre-production. Specifically, mapmate functions are used to generate and save to disk a series of global map graphics that make up a still image sequence, which can then be used in video editing and rendering software of the user’s choice. This package does not

Read more »

Animate maps with mapmate: R package for map- and globe-based still image sequences

October 10, 2016
By
Animate maps with mapmate: R package for map- and globe-based still image sequences

Introduction to mapmate mapmate (map animate) is an R package for map animation. It is used to generate and save a sequence of plots to disk as a still image sequence intended for later use in data animation production. The mapmate package is used for map- and globe-based data animation pre-production. Specifically, mapmate functions are

Read more »

Animated great circles on rotating 3D Earth: Example R code

May 16, 2016
By

Making still frames for great circle animations in R Matthew Leonawicz Here I share R code I used to produce animated great circle arcs on top of a rotating 3D Earth. The code is not entirely reproducible but you should be able to use what is shared here to create your own video frames given

Read more »

R Shiny leaflet: using observers

March 16, 2016
By
R Shiny leaflet: using observers

Using leaflet in R is fairly simple and there are plenty of online resources and examples available already. See the RStudio tutorial to get started if you haven’t already. This post presents a series of examples which build upon each other. The code displays both point data and raster data on leaflet maps with Shiny

Read more »

Upload shapefile to R Shiny app to extract leaflet map data

March 2, 2016
By
Upload shapefile to R Shiny app to extract leaflet map data

In this post I share an R Shiny app which uses the leaftlet package for interactive maps. This app differs from prior apps I’ve made featuring leaflet maps. First, it displays rasterized map data rather than just point layers. Also, longitude and latitude sliders in the browser allow for cropping the map. Additionally, the user

Read more »

R + htmlwidgets + DT + sparkline

October 1, 2015
By
R + htmlwidgets + DT + sparkline

Here are some examples with code where I use the R packages DT and sparkline to produce interactive data tables and inline graphs as well as inline graphs within data table cells. Both packages utilize the htmlwidgets package to interface with javascript libraries. With htmlwidgets you can create custom widgets to use specific javascript libraries

Read more »

R animation: great circles 3, final draft

September 4, 2015
By

Here is the final draft of my great circle arcs R animation. I made this back in January shortly after my first two drafts, but am only now getting around to sharing it, which is a typical representation of how seldom I can make time for blogging. But given the recent spike in interest (thanks

Read more »

R plot: Comparison of Fairbanks, Alaska and Beijing, China air quality

August 28, 2015
By
R plot: Comparison of Fairbanks, Alaska and Beijing, China air quality

Here’s an interesting R plot comparing a specific air pollution metric between Fairbanks, Alaska and Beijing, China. Right off the bat, Beijing obviously has far worse air quality, and more significantly, it is a chronic, daily problem. But it is used for comparison because we already know this is the case. In Fairbanks, while air

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)