inst/extdata
for size requirements;
added R.utils
as import to support fread()
for
.gz
filesadult_cutpoint
and weightcap
options
(https://github.com/mitre/growthcleanr/pull/17, others)longwide()
, added
simple_bmi()
(#47)gcdriver.R
to support adult options, parallel
operation (https://github.com/mitre/growthcleanr/pull/23)syngrowth
synthetic test data, now includes
adults (#50)CHECK
cleanly (#18,
#60)Hmisc
dependency (#36)clean_value
result column name in docs with
gcr_result
for clarity (#35)inst/extdata/nhanes-reference-medians.csv
,
reference medians for recentering derived from NHANES (described in
README)sd.recenter
option to include new
NHANES reference medians and explicit specification with “NHANES” or
“derive” (https://github.com/mitre/growthcleanr/issues/9)README.md
to be generated from
README.Rmd
w/knitr (thanks
file.path()
more consistently in
R/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.
citation("growthcleanr")
works as
expected@import
now preferred over library()
for
library loadingfdir
option to splitinput()
to
specify split file directorysyngrowth
) to
improve compressiontests/testthat/test-utils.R
and
tests/testthat/test-cdc.R
to support newly added
functionslongwide()
; fixed missing
import in DESCRIPTIONext_bmiz()
, comparable
to SAS program published at
https://www.cdc.gov/nccdphp/dnpao/growthcharts/resources/sas.htminst/extdata/CDCref_d.csv
from CDC
for use with ext_bmiz()
longwide()
for transforming
cleangrowth()
output for use with
ext_bmiz()
recode_sex()
for recoding input data
column values for sex
to match cleangrowth()
or ext_bmiz()
requirementsexec/gcdriver.R
command-line script for CLI
execution of cleangrowth()
Dockerfile
(and .dockerignore
)
enabling containerized use of growthcleanr
tests
adjustcarryforward()
in
R/adjustcarryforward.R
and driver script
exec/testadjustcf.R
(see README-adjustcarryforward.md for
details)R/growth.R
into separate files
for clarity and easier maintenance (all utility functions not directly
used by cleangrowth()
are now in
R/utils.R
)error.load.mincount
and
error.load.threshold
lt3.exclude.mode
with default (same as before) and
flag.both
mode for handling unmatched pairssdmedian.filename
and
sdrecentered.filename
splitinput()
functionsyngrowth
loads
automatically.