Skip to content

Releases: SwissTPH/healthiar

v.0.2.3

20 Feb 04:51
169f12b

Choose a tag to compare

Version published in CRAN on 19 February 2026

Changes compared to last version:

New features

  • Using compare() after standardizing results from attribute_health() now works
  • For the sub-group analysis, exposure value can be specific for each geo_id_micro AND info column
  • The argument social_indicator and geo_id_micro in socialize() can now use tidy data
  • monetize() works after compare()
  • prepare_exposure() works for gridded population data

Bug Fixes

  • Using socialize() and standardize() without ref_prop_pop now works properly
  • Now attribute_lifetable() allows all lengths for age group (before, only 100 age categories were allowed)
  • The data validation now identifies correctly whether the argument n_years was entered by the user or not

Testing

  • 31 additional internal tests

Other improvements

  • The argument n_years has no default value anymore in monetize() and discount()
  • Error message if monetize() is used after compare() with different year of analysis or baseline health data in the two scenarios (not attributable to policy intervention)
  • More complete warning message if absolute risk and cutoff is provided

healthiar v.0.2.2

12 Jan 10:07
4baf684

Choose a tag to compare

Changes compared with v0.2.1

Bug Fixes

  • results_raw now stratifies by info arguments

Documentation

  • New structure of vignette (by topic instead of by function)
  • Amendments in readme file in terms of contents and structure including URL to new healthiar website
  • Updated and fixed citation

Testing

  • Around 70 additional internal tests for attribute_health()