View source: R/read_transect.R
read_transect | R Documentation |
Import JSON seagrass transect data from Water Atlas
read_transect(training = FALSE, raw = FALSE)
training |
logical if training data are imported or the complete database |
raw |
logical indicating if raw, unformatted data are returned, see details |
The function imports a JSON file from the USF Water Atlas. If training = TRUE
, a dataset from the TBEP training survey is imported from http://dev.seagrass.wateratlas.usf.edu/api/assessments/training. If training = FALSE
, the entire transect survey database is imported from http://dev.seagrass.wateratlas.usf.edu/api/assessments/all__use-with-care.
Abundance is reported as a numeric value from 0 -5 for Braun-Blanquet coverage estimates, blade length is in cm, and short shoot density is number of shoots per square meter. The short density is corrected for quadrat size included in the raw data.
If raw = TRUE
, the unformatted data are returned. The default is to use formatting that allows the raw data to be used with the downstream functions. The raw data may have extra information that may be of use outside of the plotting functions in this package.
data frame
## Not run:
# get training data
transect <- read_transect(training = TRUE)
# import all transect data
transect <- read_transect()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.