aaronweed / NETNCoastalBirds

A package for summarizing NETN Coastal Breeding bird monitoring program data.
https://www.nps.gov/im/netn/coastal-birds.htm
2 stars 1 forks source link

Saved data objects plus minor changes #25

Closed bromsk closed 5 years ago

bromsk commented 5 years ago

Added spacings to scripts; updated GetCrecheData(), GetIncubationData(), and GetNestData() to load saved data objects if ODBC database connection is not available; created species_tlu RData object so that csv file would not be read inside of functions; Simplified some code of CrecheSum(), SumIncubation(), and SumNestSurveys() for increased readability. Updated the function and argument descriptions to reflect above changes.

Aaron, if you can't easily merge the files/ can't easily find my changes, I can simplify the merge request on my end first to make it easier for you to know what I did. Give me a call if you have any questions.

For two functions, I made a change to just import ggplot and dplyr because so many functions were used from both packages...

In the function descriptions, I "wrapped" the text to make it easier to read. As long as you only include one return, Roxygen knows to ignore it and it does not affect the help pages.

Int he CB_Plot_notgeneric.R script, I reformatted the code (RStudio > Code > REformat code) and hit save before thinking. I wish I hadn't made the change, but I don't think I made any other edits to this script.