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

logical; if TRUE function returns the ggplot object for subsequent modification. If FALSE, function returns 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/popler documentation built on Nov. 15, 2019, 9:48 a.m.