Skip to content

Releases: PHSKC-APDE/rads

v1.5.5

27 Feb 19:21
4c61bb0

Choose a tag to compare

New Functions:

  • death_validate_data()

Updated Functions:

  • death_xxx_count(), death_injury_matrix_count(), death_multicause_count(), & death_other_count() ... all now use death_validate_data() and use rads.data::synthetic_deaths for examples
  • get_data_death() now uses death_icd10_clean() when importing data

Updated Vignettes:

  • death_functions.qmd: use rads.data::synthetic_deaths for all death_*_count function examples plus word smithing

Deprecations:

  • none

Other Changes:

  • none

Full Changelog: v1.5.4...v1.5.5

v1.5.4

13 Feb 17:21
405e096

Choose a tag to compare

New Functions:

  • none

Updated Functions:

  • data_modeler() improved handling of NA values
  • check_version() make internal

Updated Vignettes:

Deprecations:

  • none

Other Changes:

  • none

Full Changelog: v1.5.3...v1.5.4

v1.5.3

21 Jan 20:19
ec49183

Choose a tag to compare

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' handling
  • calc() fixed return of timevar when using imputationLists
  • multiple updates to chars functions, use rads.data::synthetic_chars for 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:

Deprecations:

  • none

Other Changes:

  • none

Full Changelog: v1.5.2...v1.5.3

v1.5.2

25 Nov 17:04
41cd678

Choose a tag to compare

New Functions:

  • none

Updated Functions:

  • calc() many improvements for processing factors in imputationLists
  • tsql_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

19 Sep 22:08
6ca441a

Choose a tag to compare

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 complements tsql_validate_field_types().

Updated Functions:

  • lossless_convert() now allows class = '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

15 Sep 20:41
31f4b22

Choose a tag to compare

Updated Functions:

  • adjust_direct() and age_standardize()

    • New Feature: Added event_type parameter 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 agecat instead of age column
      • Fixed summary population returns when pop < count

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() and age_standardize()

Full Changelog: v1.4.0...v1.4.1

v1.4.0

05 Aug 20:58
ca8b9a9

Choose a tag to compare

Updated Functions:

  • none

New Functions:

  • death_multicause_count(): count causes of death for given combination of underlying cause of death and contributing causes of death
  • death_multicause(): provide table of available built in cause of death definitions for death_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 @seealso so death functions refer to each other.

Full Changelog: v1.3.6...v1.4.0

v1.3.6

14 Jul 19:53
32b3a1f

Choose a tag to compare

Updated Functions (since v1.3.5.1):

  • string_clean
  • lossless_convert
  • age_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, and check_names
  • various documentation updates

v1.3.5.1

18 Apr 22:12
4c7c4a2

Choose a tag to compare

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

17 Apr 16:30
2eb5973

Choose a tag to compare

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):

Deprecations (since v1.3.4):

  • none

Other Changes (since v1.3.4):

  • none