Package: TrackTrap
Title: Model Cumulative Growing Degree-Days for Pest Monitoring
Version: 1.0.0
Authors@R: c(
  person("Santosh", "Bhandari", email = "santoshbhandari4556@gmail.com", role = c("aut", "cre")),
  person("Lalit", "Kharel", email = "klalitkharel@gmail.com", role = c("aut")),
  person("Mahesh", "Ghimire", email = "maesghimire@gmail.com", role = c("aut"))
  )
Description: Pest monitoring is crucial, especially during the early season, to understand the distribution and the proliferation of the target pest. Raw count data from pest monitoring/traps can be coupled with environmental variables such as temperature, growing degree-day ('GDD') etc. to get useful insights about the pest phenology. This package pulls temperature data from the California Irrigation Management Information System ('CIMIS', <https://cimis.water.ca.gov>), the 'Daymet' application programming interface ('API', <https://daymet.ornl.gov>), or 'Open Meteo' ('API', <https://open-meteo.com/>) sequentially for a user-specified time period and calculates cumulative growing degree-days. Users provide pest development thresholds (lower and upper temperatures), pest of concern, and the geographic coordinates of the trap location to track emergence and phenology.
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (>= 3.5)
LazyData: true
Imports: curl, daymetr, degday, dplyr, ggplot2, httr, jsonlite,
        magrittr, rlang, xml2
Config/roxygen2/version: 8.0.0
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
RoxygenNote: 8.0.0
NeedsCompilation: no
Packaged: 2026-06-13 17:24:05 UTC; santo
Author: Santosh Bhandari [aut, cre],
  Lalit Kharel [aut],
  Mahesh Ghimire [aut]
Maintainer: Santosh Bhandari <santoshbhandari4556@gmail.com>
Repository: CRAN
Date/Publication: 2026-06-13 17:40:02 UTC
Built: R 4.4.3; ; 2026-06-13 18:47:54 UTC; unix
