Learn R Programming

mapr

Helper for making maps of species occurrence data, including for:

This package has utilities for making maps with:

  • base R
  • ggplot2
  • Leaflet - via leaflet pkg
  • GitHub Gists - via gistr package

Get started with the docs: https://docs.ropensci.org/mapr/

Installation

Install mapr

install.packages("mapr")

Or the development version from GitHub

remotes::install_github("ropensci/mapr")
library("mapr")
library("spocc")

Meta

Copy Link

Version

Install

install.packages('mapr')

Monthly Downloads

103

Version

0.5.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

October 12th, 2020

Functions in mapr (0.5.2)

map_plot

Base R mapping
gbif_eg1

Example dataset: output from call to rgbif::occ_search()
map_ggplot

ggplot2 mapping
occ2sp

Create a spatial points dataframe from a spocc search
map_gist

Make an interactive map to view in the browser as a GitHub gist
map_leaflet

Make interactive maps with Leaflet.js
mapr-package

mapr
map_ggmap

ggpmap visualization of species occurences
occdat_eg1

style_geojson

Style a data.frame prior to converting to geojson.
hull

Add a convex hull to a map