Skip to content

Rmonsoon/Rearth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis-CI Build Status

Rearth

A R html-widget for visualization of global weather conditions or other spatial vector data.

This project is based on a "localized" version of Cameron Beccario's "earth" project (https://github.com/cambecc/earth). You can run the "earth" visualization for your own data without the support of a web-server. The R package {htmlwidget} is used to wrap up the "earth" codes as a widget, and you can call it in just a few lines of R code.

Installation

devtools::install_github("Rmonsoon/Rearth")

Example

library(Rearth)
setwd(system.file("external", package="Rearth"))

Rearth("orthographic=-30,55,1500", fn="surface-winds.json")

Then the "Rearth" widget will be opened in your brower.

Surface Winds

Another example for ocean currents.

Rearth("orthographic=145,35,1800", mode="ocean", fn="ocean-currents.json")

Ocean Currents

Inspiration

The awesome earth site and the Yihui's recharts project provided the main inspiration for this work.

About

A R html-widget for visualization of vector data on Earth surface

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published