Skip to content
An integration of RStudio's Shiny with Google's WebGL Globe platform
JavaScript R CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst Take in data.frame to render rather than a specially formatted vector. Nov 16, 2013
man
.Rbuildignore
.gitignore Added initial example Nov 15, 2013
DESCRIPTION Added initial example Nov 15, 2013
LICENSE
NAMESPACE
README.md
shinyGlobe.Rproj

README.md

shinyGlobe

An integration of RStudio's Shiny with Google's WebGL Globe platform.

A Live Demo is available at http://spark.rstudio.com/trestletech/globePopulation/.

Installation

shinyGlobe isn't yet available on CRAN, but you can use devtools to install it from GitHub.

# Install devtools, if you haven't already.
install.packages("devtools")

library(devtools)
install_github("shinyGlobe", "trestletech")

Usage

Currently, shinyGlobe offers a very simple interface in which a anew globe is generated every time data changes. It may later be possible to animate ("tween") between states, but that looks like it would take some work.

The two important functions in the package currently are renderGlobe and globeOutput which should be used in server.R and ui.R, respectively. renderGlobe generates the page element in your UI where the globe will be loaded. renderGlobe translates your data into a format used in generating the globe. See this example included in the pacakge for a basic demo.

Credits

The package is built on top of Google's WebGL Globe platform, which does 99% of the heavy lifting here. Their code is available under an Apache v2 License.

You can’t perform that action at this time.