- Added option to cleangrowth for the preliminary infants algorithm -- expands pediatric algorithm to consider 0 - 2 years old, with infants = TRUE in cleangrowth(), with all steps implemented. Note that this option is still preliminary and should not be used for research. For more information regarding the logic of the algorithm, see the vignette 'Preliminary Infants Algorithm.'
- Added the infants beta release algorithm -- expands pediatric algorithm to consider 0 - 2 years old, with infants = TRUE in cleangrowth()
- Updated velocity data for the extension (#122)
- Fixed missing adult measurements to be labeled "Missing" in output (#119)
- Added tests for missingness in adult output
- Fixed missing "-RV" codes in adult output
- Corrected contributor names in DESCRIPTION (#120)
- Added email for Dan Chudnov in DESCRIPTION (#95)
- Use dependabot to update GitHub workflow action versions (#94)
- Use GitHub action to build and publish container image (#101)
- Updated
ext_bmiz()
to match Dec 2022 NCHS guidelines (#98) - New options to keep dates, columns, unmatched rows in
longwide()
(#71) - Updated CITATION to match new CRAN requirements
- Updated Dockerfile to build from repo, not CRAN
- CRAN release checklist now added under Developer Guidelines vignette (#99)
- All possible levels for
cleangrowth()
output factor now enumerated - Updated maintainer to Carrie Daymont
- Package now available on CRAN: https://cran.r-project.org/package=growthcleanr
- Several updates for CRAN deployment: improved example/test runtimes, text
corrections (#82); switched examples to use
donttest
, added CRAN comments file, updated.Rbuildignore
(#84) - Documentation updated with CRAN install (#86), fixed links (#85)
- Updated GitHub check workflow (#80) and pkgdown workflow
- Updated DESCRIPTION, including authors, URLS, title, description, and imports
- Compressed files in
inst/extdata
for size requirements; addedR.utils
as import to supportfread()
for.gz
files - Updated license year
- Support for cleaning adult (18-65) observations with
adult_cutpoint
andweightcap
options (#17, others) - Added documentation describing adult algorithm, examples, and exclusions (#30), next steps (#63)
- Added tests supporting adult observations (#49)
- Removed BMI calculation from
longwide()
, addedsimple_bmi()
(#47) - Enhanced
gcdriver.R
to support adult options, parallel operation (#23) - Refreshed
syngrowth
synthetic test data, now includes adults (#50) - Reorganized documentation from README, now using pkgdown (#30)
- Improved code layout to pass
CHECK
cleanly (#18, #60)
- Corrected four duplicated age-rows in NHANES reference medians (#40)
- Added missing non-newborn constraint in 14h.ii (thanks Lusha Cao)
- Removed
Hmisc
dependency (#36) - Replaced
clean_value
result column name in docs withgcr_result
for clarity (#35)
- Added
inst/extdata/nhanes-reference-medians.csv
, reference medians for recentering derived from NHANES (described in README)
- Updated behavior of
sd.recenter
option to include new NHANES reference medians and explicit specification with "NHANES" or "derive" (#9) - Switched
README.md
to be generated fromREADME.Rmd
w/knitr (thanks @mcanouil) (#17) - Switched to use
file.path()
more consistently inR/growth.R
-
Minor update to WHO HT velocity 3SD files to correct a small number of errors (#24). Affected files were:
inst/extdata/who_ht_maxvel_3sd.csv
inst/extdata/who_ht_vel_3sd.csv
Although these changes were very minor, it is possible that results on data cleaned after this change may vary from previous results. The prior version of these files may be obtained by visiting the tagged release version 1.2.3 at https://github.com/carriedaymont/growthcleanr/releases/tag/1.2.3.
The released version of
growthcleanr
available at that link contains the older version of both files; that older version may be used to verify reproducibility.Alternatively, a more recent version of
growthcleanr
may be used with only the affected files replaced with their older versions available at the 1.2.3 tag link above. This must be done manually.
- New exclusion handling option on experimental carry forward adjustment
- Improved experimental carry forward adjustment handling of strings of CF values, output handling, and documentation; renamed "Missing" values
- Updated DESCRIPTION, imports, documentation to address testing issue (#12)
- Switched to R-native argparser library to support script options
- Switched to GitHub Actions for continuous integration / testing (thanks @mcanouil)
- Improved Dockerfile to standardize user/path, simplify install (thanks @mcanouil)
- CITATION file, now
citation("growthcleanr")
works as expected
- Standardized on arrow assignment
- Moved functions previously within other functions to top level
@import
now preferred overlibrary()
for library loading- Exported more functions
- Improved carried forward adjustment driver script, now supports line-grid (like original sweep), random, and grid-search search types, with configuration
- Added
fdir
option tosplitinput()
to specify split file directory - Added package minimum versions to DESCRIPTION
- Fixed example code to reduce build warnings
- Improved and corrected documentation
- Re-compressed synthetic sample data (
syngrowth
) to improve compression
- New tests in
tests/testthat/test-utils.R
andtests/testthat/test-cdc.R
to support newly added functions
- Improved error handling in
longwide()
; fixed missing import in DESCRIPTION
- New CDC BMI calculation function
ext_bmiz()
, comparable to SAS program published at https://www.cdc.gov/nccdphp/dnpao/growthcharts/resources/sas.htm - Reference data file
inst/extdata/CDCref_d.csv
from CDC for use withext_bmiz()
- New function
longwide()
for transformingcleangrowth()
output for use withext_bmiz()
- New function
recode_sex()
for recoding input data column values forsex
to matchcleangrowth()
orext_bmiz()
requirements - New
exec/gcdriver.R
command-line script for CLI execution ofcleangrowth()
- New
Dockerfile
(and.dockerignore
) enabling containerized use ofgrowthcleanr
- Started test suite in
tests
- New experimental function
adjustcarryforward()
inR/adjustcarryforward.R
and driver scriptexec/testadjustcf.R
(see README-adjustcarryforward.md for details)
- Reorganized code from
R/growth.R
into separate files for clarity and easier maintenance (all utility functions not directly used bycleangrowth()
are now inR/utils.R
) - Updated README with details and examples for added functions
- New options to add flexibility:
error.load.mincount
anderror.load.threshold
lt3.exclude.mode
with default (same as before) andflag.both
mode for handling unmatched pairssdmedian.filename
andsdrecentered.filename
- New
splitinput()
function - New example synthetic data set
syngrowth
loads automatically.
- Several updates to improve performance, including eliminating use of data.table in ewma function.
- Updated README with link to paper, detailed introduction, more installation details, examples, notes on handling large datasets, lists of parameters and exclusions.
- Initial version posted to GitHub.