Skip to contents

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

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

if (FALSE) {

library(dplyr) # make %>% available

browse_object <- pplr_browse(proj_metadata_key == 11)

browse_object %>%
  pplr_maps() 
}