Public | Automated Build

Last pushed: 7 days ago
Short Description
an R package to compute rectangular statistical cartograms.
Full Description






recmap - Compute the Rectangular Statistical Cartogram

This package implementats of the RecMap construction algorithm (MP2).

Installation

from CRAN

recmap requires R 3.3 or later.

Released and tested versions of recmap are available via
CRAN,
and can be installed using the following code

install.packages('recmap')

from github

the code below installs the latest development version

install.packages('devtools')
library(devtools)
install_github('cpanse/recmap', build_vignettes = TRUE, quiet = FALSE)
browseVignettes('recmap')

Use the docker public | automated build recmap image

this image contains the latest build.

docker pull cpanse/recmap \
&& docker run -d -p 8791:8787 cpanse/recmap

connect to http://yourdockerhost:8791 using a web browser

  • username: rstudio
  • password: rstudio

or stand alone

docker run -it -p 8787:8787 cpanse/recmap R -e "library(shiny); recmap_shiny <- system.file('shiny-examples', package = 'recmap'); shiny::runApp(recmap_shiny, display.mode = 'normal', port=8787, host='0.0.0.0')"

conect to the docker host:8787

Documentation

The package ships with a package
vignette
(browseVignettes('recmap'))
and a reference manual (just type ?recmap on the R shell).
Both documents are also available on the package's
CRAN page.
A white paper containing more technical information and examples is
available through arXiv:1606.00464.

Demonstration

# Requires to install suggested  packages
# install.packages(c('colorspace', 'maps', 'noncensus', 'shiny'))

library(shiny)
recmap_shiny <- system.file('shiny-examples', package = 'recmap')
shiny::runApp(recmap_shiny, display.mode = 'normal')

Related approaches

Docker Pull Command
Owner
cpanse
Source Repository