pplr_maps: Generate maps of LTER sites

Description Usage Arguments Value Examples

View source: R/map_funs.R

Description

Generates maps of LTER sites in a given input object. Sizes of site markers correspond to the number of studies at a given site.

Usage

1
pplr_maps(input, return_plot = FALSE)

Arguments

input

An object created by either pplr_browse() or pplr_get_data()

return_plot

A logical indicating whether to return a copy of the input data or the ggplot object created by the function. Use TRUE to return the ggplot object for subsequent modification. Use FALSE to return an invisible copy of the input object ( useful for piping). Default is FALSE.

Value

The input object (invisibly) or a ggplot2 object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

library(dplyr) # make %>% available

browse_object <- pplr_browse(proj_metadata_key == 11)

browse_object %>%
  pplr_maps() 

## End(Not run)

AldoCompagnoni/poplerr documentation built on Oct. 1, 2018, 3:06 p.m.