- Prevents
pid@src
from becoming empty - Adds tests for
individual_to_donordata()
- Adds separate birth weight field to weight table
- Major update: Replaces
clopus
package bycentile
andnlreferences
- Removes all
lollypop.preterm
pointers
- Explicit declaration of
clopus::y2z()
andclopus::z2y()
- Repairs calculation of DAZ
- Repair range check, and setting to NA, for out-of-range GA
- Re-edit to
lollypop
to account fordonordata 0.20.0
- Renames ".z" to "_z"
- Extends
xyz
class to weight-for-height Z-scores
- Changes the transformations in
donordata_to_indivual()
andconvert_bds_individual()
to use clopus::transform_y()and
clopus::transform_z()` functions.
- The
xyz
andbse
classes now supportclopus::transform_z()
and
clopus::transform_y()
transformations. Addusetransform = TRUE, sex = .., ga = ..
arguments to thenew("xyz", ...)
andnew("bse", ...)
calls to activate this option.
- Support only built-in schema
- Add fast return in
convert_bds_individual()
forNULL
input
- Adds the
convert_checked_individual()
workhorse
- Adds
verify()
to isolate JSON testing from conversion toindividual
- Replace
individualMS
by more generalindividualRW
for raw data storage.
- Repairs six incorrect BDS numbers in
inst/json/bds_schema_str.json
. - Updates
data/bds_lexicon
with the six repairs.
- Solves the pesky warning message: "Unreplaced values treated as NA as .x is not compatible. Please specify replacements exhaustively or supply .default"
- Turns most warnings into messages. The only warnings remaining occur if the input JSON is invalid.
- Update to
R 4.0.0
andbrokenstick 0.70.1
- Add bug fix that creates a synthetic dob (20000101) when NA
- preserves the GA in days by extending the
individualBG
class with agad
slot - adds BDS 989 (throws ball) to the JSON validator schema
convert_individual.bds()
includes the raw ddi data to BDS JSON
- Replaces calls
as(..., "data.frame")
bydata.frame(...)
- Generalises the
as(..., "data.frame")
functions forxyz
andindividualAN
so that the produced data frames are complete and tidy
- Adds functionality for milestone scores. Two new classes:
individualMS
andird
- Extends the
individual
class - Updates to new classes in
convert_bds_individual()
anddonordata_to_individual()
- Adds class
individualMS
to convert raw milestones data (from SMOCC) into BDS coding
- Avoid
Unknown or uninitialised column:
warning generated bytibble
- Round Z-scores to 3 digits after decimal point
- Export
get_dob()
- Reduces dependency on
donordata
by importing functions fromdonorloader
- Added a
NEWS.md
file to track changes to the package.