ropensci / popler

The R package to browse and query the popler database
https://docs.ropensci.org/popler
MIT License
8 stars 7 forks source link

lter_plots updates #46

Closed bochocki closed 6 years ago

bochocki commented 7 years ago

Make the following changes to lter_plots:

  1. Only draw plots that are required; for example, don't draw Antarctica when there are not Antarctica LTERs in the browse() object.
  2. Re-write the function so that all ggplot2 calls are ggplot2::ggplot(), etc. Making the main plotting functions more modular is a simple way to do that.
  3. Make this function available to the user. Currently it's only available via popler:::lter_plots()
  4. Change the name of the function.
  5. Write unit tests.