Blog Archives

Assorted Shiny apps collection, full code and data

April 26, 2017
By
Assorted Shiny apps collection, full code and data

Here is an assortment of R Shiny apps that you may find useful for exploration if you are in the process of learning Shiny and looking for something different. Some of these apps are very small and simple whereas others are large and complex. This repository provides full code and any necessary accompanying data sets.

Read more »

Custom images for Shiny dashboard valueBox icons

January 11, 2017
By
Custom images for Shiny dashboard valueBox icons

The shinydashboard package provides functions like valueBox that conveniently display basic information like summary statistics. In addition to presenting a value and subtitle on a colored background, an icon may be included as well. However, the icon must come from either the Font Awesome or Glyphicon icon libraries and cannot be image files. I’ve provided

Read more »

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 »

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)