NIEHS / amadeus

https://niehs.github.io/amadeus/
MIT License
2 stars 2 forks source link

0.1.6 #59

Closed mitchellmanware closed 3 months ago

mitchellmanware commented 3 months ago
  1. Function suite for gridMET and TerraClimate data sources https://github.com/NIEHS/amadeus/issues/45
  2. Modularization of calc_* functions https://github.com/NIEHS/amadeus/issues/45#issuecomment-2012399549
  3. calc_setcolnames() for standard naming practices https://github.com/NIEHS/beethoven/issues/294#issuecomment-2026511750
    • Ensures time oriented column is $time, latitude and longitude are $lat and $lon respectively
    • Covariate column names follow 3 character code, variable name (no character limit), 1 digit lag, and 5 digit padded radius
    • No character limit because some variables were not identifiable with only 5 (or even 10) characters
    • Replaces -, ., and _ so variable code is a single string
  4. Separate R/*.R files to track main versus auxiliary functions
  5. file.exists() checks in download.R to download only missing/nonexisting data files https://github.com/NIEHS/amadeus/issues/58
  6. calc_lagged() for creating temporally lagged covariates