Getting Started with nitratoR
Ngoc Khanh Van Nguyen
2025-10-22
getting-started.RmdOverview
The nitratoR package provides tidy monthly data from three NEON stream sites (Arikaree, Caribou, and Lewis Run) during 12 months of 2023, including two variables about water quality, which are surface water temperature and nitrate level. It includes:
- nitrate_tidy: monthly nitrate concentrations (µmol/L)
- temp_tidy: monthly surface-water temperature (°C)
- a helper function - monthly_median()
- a Shiny dashboard ( - launch_app()) for interactive exploration
Quick function to get a single-site figure of nitrate level or water temperature
The function returns the median nitrate concentration for a given site and month.
monthly_median(nitrate_tidy, "LEWI", "Jan")
#> [1] 207.7