R package for Tampa Bay Estuary Program functions. Please see the vignette for a full description.
The package can be installed from GitHub. The source code is available on the tbep-tech GitHub group web page: https://github.com/tbep-tech/tbeptools.
First, install the devtools package, load devtools, then install and load tbeptools. Note that tbeptools only needs to be installed once, but it needs to be loaded every new R session (i.e.,
install.packages('devtools') library(devtools) install_github('tbep-tech/tbeptools') library(tbeptools)
After the package is loaded, you can view the help files for each function by typing a question mark followed by the function name, e.g.,
?read_importwq, on the console. The help files provide a brief description of what each function does and the required arguments that are needed to run the function.
The vignettes are organized by topic and are an excellent place to start for understanding how to use the package. Currently, there are five vignettes available for tbeptools:
Functions in tbeptools fall in three categories depending on mode of use. Each function is named using a prefix for the mode of use, followed by what the function does. The prefixes are:
read: Import current data from the main ftp site.
anlz: Analyze or summarize the imported data.
show: Create a plot of the analyzed data.
The functions can be easily found in RStudio after loading the package and typing the prefix at the command line. An autofill dialog box will pop up showing all functions that apply for the prefix. This eliminates the need for searching for individual functions if all you know is the category of function you need (e.g.,
The function reference page can also be viewed for a complete list of functions organized by category, with links to the help files.
Please view our contributing guidelines for any changes or pull requests.