README.md

maputils

Travis-CI Build Status AppVeyor Build Status Coverage Status

SNAPverse R package ecosystem development frozen.

Development of the SNAPverse R package ecosystem has been frozen indefinitely. This project was never directly funded. I began it out of personal interest, but no longer work for SNAP. It will remain archived here for historical reference.

maputils contains Leaflet-related utilities for Shiny app development in a SNAP context. The package inherits from apputils, which contains common utility functions, settings and references for use across multiple Shiny apps. It is also imported by snaputils, which contains more general utility functions and support for Shiny apps specific to a SNAP context. All three packages are satellite members of the SNAPverse collection of R packages.

maputils contains SpatialPolygonsDataFrame data sets useful in SNAP Shiny apps for visual representation of geographic regions via Leaflet maps. These data sets are simplified derivations of the maps offered by the snappoly package, containing fewer vertices. This allows them to be used for efficient map display in apps without slowing apps down due to unnecessarily high map resolution. Use the maps in maputils only for Leaflet widgets in apps. For data analysis, e.g., extracting data by polygon, use the higher resolution source maps in snappoly.

Each map is in WGS84 lon/lat rather than NAD83 Alaska Albers like the source maps in snappoly. There are slight differences in derived maps from the snappoly source maps as noted below.

There are ten available maps:

Installation

You can install maputils from github with:

# install.packages('devtools')
devtools::install_github("leonawicz/maputils")

Reference

The complete set of satellite packages is shown below.

Complete package reference and function documentation



leonawicz/maputils documentation built on May 20, 2019, 8:49 a.m.