Releases: PHSKC-APDE/rads
Releases · PHSKC-APDE/rads
v1.5.5
New Functions:
death_validate_data()
Updated Functions:
death_xxx_count(),death_injury_matrix_count(),death_multicause_count(), &death_other_count()... all now usedeath_validate_data()and userads.data::synthetic_deathsfor examplesget_data_death()now usesdeath_icd10_clean()when importing data
Updated Vignettes:
- death_functions.qmd: use
rads.data::synthetic_deathsfor all death_*_count function examples plus word smithing
Deprecations:
- none
Other Changes:
- none
Full Changelog: v1.5.4...v1.5.5
v1.5.4
New Functions:
- none
Updated Functions:
data_modeler()improved handling ofNAvaluescheck_version()make internal
Updated Vignettes:
- utilities#data_modeler: https://github.com/PHSKC-APDE/rads/wiki/utilities#data_modeler
Deprecations:
- none
Other Changes:
- none
Full Changelog: v1.5.3...v1.5.4
v1.5.3
New Functions:
data_modeler()generate uncorrelated data (and the code to recreate it) that is shaped like your real data but is likely ok to share publicly.chars_validate_data()
Updated Functions:
calc.dtsurvey()improved 'where' handlingcalc()fixed return of timevar when using imputationLists- multiple updates to chars functions, use
rads.data::synthetic_charsfor examples- removed all use of deprecated functions
- created and make use of
chars_validate_data()in the counting functions - refactored chars_injury_matrix_count() to use just two columns of raw data rather than searching across many mechanism_* and intent_* columns
- updated wikis
Updated Vignettes:
- utilities#data_modeler: https://github.com/PHSKC-APDE/rads/wiki/utilities#data_modeler
- chars functions: https://github.com/PHSKC-APDE/rads/wiki/chars_functions
Deprecations:
- none
Other Changes:
- none
Full Changelog: v1.5.2...v1.5.3
v1.5.2
New Functions:
- none
Updated Functions:
calc()many improvements for processing factors in imputationListstsql_convert_types()now preserves case (lower/upper)
Updated Vignettes:
- added note re: deprecation for population, get_data, and brfss functions vignettes
Deprecations:
- functions that were migrated to the apde.data package:
as_imputed_brfss(),as_table_brfss(),get_data_birth(),get_data_brfss(),get_data_chars(),get_data_death(),get_data_hys(),get_data_pums(),get_population(),list_apde_data(),list_dataset_columns(),pool_brfss_weights(),validate_hhsaw_key()
Other Changes:
- Previously deprecated functions that were migrated to apde.chi.tools are now made defunct
Full Changelog: v1.5.0...v1.5.2
1.5.0
New Functions:
tsql_type_convert()to losslessly bring an R data.frame/data.table into alignment with field types for its corresponding TSQL table. Calls upon and complementstsql_validate_field_types().
Updated Functions:
lossless_convert()now allowsclass = 'raw'convert_to_date()allows for more date formats, specifically- %m-%d-%y, e.g. '7-14-25'
- %m/%d/%y, e.g. '7/14/25'
- %d%b%Y, e.g. '14Jul2025'
- %d-%b-%Y, e.g. '14-Jul-2025'
Updated Vignettes:
- none
Deprecations:
- none
Other Changes:
- none
1.4.1
Updated Functions:
-
adjust_direct()andage_standardize()- New Feature: Added
event_typeparameter to distinguish between unique and repeatable events - Improved Validation: Improved input validation with clearer error messages for age columns, populations, and parameters
- Better Edge Case Handling:
- Cap rates at 100% for unique events when count > population
- Improved upper confidence interval calculations for zero counts
- Bug Fixes:
- Fixed age validation when using
agecatinstead ofagecolumn - Fixed summary population returns when pop < count
- Fixed age validation when using
- New Feature: Added
New Functions:
- none
Updated Vignettes:
- age_standardize vignette updated to include a note about incomplete age series
Deprecations:
- none
Other Changes:
- expanded unit test for
age_adjust()andage_standardize()
Full Changelog: v1.4.0...v1.4.1
v1.4.0
Updated Functions:
- none
New Functions:
death_multicause_count(): count causes of death for given combination of underlying cause of death and contributing causes of deathdeath_multicause(): provide table of available built in cause of death definitions fordeath_multicause_count()
Updated Vignettes:
- death functions vignette updated for new functions + minor formatting / word smithing changes
Deprecations:
- none
Other Changes:
- Updated documentation for pre-existing death functions. Most notably added
@seealsoso death functions refer to each other.
Full Changelog: v1.3.6...v1.4.0
v1.3.6
Updated Functions (since v1.3.5.1):
string_cleanlossless_convertage_standardize
New Functions (since v1.3.5.1):
propagate_uncertainty: Monte Carlo simulation for calculating contrasts
Updated Vignettes (since v1.3.5.1):
- none
Deprecations (since v1.3.5.1):
suppress
Other Changes (since v1.3.5.1):
- Added check if installed rads is current
- vignette for
propagate_uncertainty - deleted
dumb_convert,list_to_dt, andcheck_names - various documentation updates
v1.3.5.1
Updated Functions (since v1.3.5):
get_data_chars(): bug fix. Made values of race_3_hispanic lower case because was not included with CHI variables
New Functions (since v1.3.5):
- none
Updated Vignettes (since v1.3.5):
- none
Deprecations (since v1.3.5):
- none
Other Changes (since v1.3.5):
- none
V1.3.5
updated relevant vignetttes and tests
updated vignette footers
Updated Functions (since v1.3.4):
get_data_chars- updated to use new CHARS database
- updated relevant tests
New Functions (since v1.3.4):
- none
Updated Vignettes (since v1.3.4):
- chars_functions ... revised content
- leading_causes_of_hospitalization ... revised content
- brfss_functions ... fixed error illustrating use of
calc()with imputationLists - All other vignettes have new footers, but the content remains the same
Deprecations (since v1.3.4):
- none
Other Changes (since v1.3.4):
- none