GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Stat-R/rMaps: Interactive Maps from R

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
R
R
 
 
data
data
 
 
inst/libraries
inst/libraries
 
 
.Rbuildignore
.Rbuildignore
 
 
.gitignore
.gitignore
 
 
DESCRIPTION
DESCRIPTION
 
 
NAMESPACE
NAMESPACE
 
 
README.md
README.md
 
 
rMaps.Rproj
rMaps.Rproj
 
 

Repository files navigation

rMaps

rMaps is an R package to create, customize and publish interactive maps from R. It supports multiple mapping libraries, including leaflet, datamaps and crosslet

Installation

You can install rMaps from github using the devtools package. You will also need to install the dev version of rCharts, that contains several experimental features, required by rMaps.

require(devtools)
install_github('ramnathv/rCharts@dev')
install_github('ramnathv/rMaps')

Quick Start

Here are some quick examples to get you started.

Example 1: CrossLet

CrossLet is an amazing mappling library that combines Leaflet and CrossFilter, allowing one to create awesome visualizations. rMaps wraps CrossLet and provides R users with a simple interface to access its features.

library(rMaps)
crosslet(
  x = "country", 
  y = c("web_index", "universal_access", "impact_empowerment", "freedom_openness"),
  data = web_index
)

Click to see Interactive Map

Example 2: DataMaps

DataMaps uses D3.js to create customizable SVG map visualizations in a single Javscript file. rMaps provides a simple wrapper around DataMaps and also extends its features using AngularJS.

ichoropleth(Crime ~ State, data = subset(violent_crime, Year == 2010))
ichoropleth(Crime ~ State, data = violent_crime, animate = "Year")
ichoropleth(Crime ~ State, data = violent_crime, animate = "Year", play = TRUE)

Example 3: Leaflet

map <- Leaflet$new()
map$setView(c(51.505, -0.09), zoom = 13)
map$tileLayer(provider = 'Stamen.Watercolor')
map$marker(
  c(51.5, -0.09),
  bindPopup = 'Hi. I am a popup'
)
map

Credits

rMaps would have not been possible without these amazing mapping libraries written in javascript

  1. Leaflet
  2. DataMaps
  3. CrossLet

License

rMaps is licensed under the MIT License. However, the JavaScript charting libraries that are included with this package are licensed under their own terms. All of them are free for non-commercial and commercial use. For more details on the licensing terms, you can consult the License.md file in each of the charting libraries.

About

Interactive Maps from R

rmaps.github.io

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.