NEWS.md

PHEindicatormethods v2.1.0

This release makes changes to the DSR function calculate_dsr function added to replace phe_dsr. The new calculate_dsr function has three new features: 1. Users can now specify whether events are independent. For non-independent events the data must be broken down by event frequency and the function will perform an adjustment to the confidence interval calculation. 2. The stdpoptype argument that was available in phe_dsr is not available in calculate_dsr and the user is now required to provide the standard populations as a field in the input dataframe. This is to negate the risk of incorrectly joining the standard population vector by position that was possible when using the function with stdpoptype = "vector". 3. Because of point 2 above, users can now calculate DSRs for groups containing different numbers of age bands in a single execution (for example DSRs for all age populations and DSRs for under 75s). phe_dsr has been soft deprecated - please replace all calls to this function with calculate_dsr before September 2025, after which date the phe_dsr function will be removed from the package. Previous calls to phe_dsr with stdpoptype set to "field" can be replaced directly with calculate_dsr, however, the stdpoptype argument has been deprectaed so will need to be removed and the stdpop argument no longer has a default so this column name will need to be provided explicitly. For previous calls to phe_dsr with stdpoptype = "vector", the user will need to append the standard populations to their input data frame before calling the calculate_dsr function and provide the stdpop argument explicitly.

PHEindicatormethods v2.0.2

PHEindicatormethods v2.0.1

PHEindicatormethods v2.0.0

PHEindicatormethods v1.4.2

PHEindicatormethods v1.4.0

PHEindicatormethods v1.3.2

phe_dsr, phe_isr, phe_mean, phe_proportion, phe_rate, phe_smr, phe_life_expectancy amended so output data frame has the same grouping attributes as the input data frame.

PHEindicatormethods v1.3.1

phe_proportion, phe_rate, phe_quantile, phe_life_expectancy, phe_sii: Functions amended to ensure continued compatibility with dplyr when v1.0.0 is released. These changes will not be noticeable to end users.

phe_life_expectancy: dropped population and death columns from output as these are no longer applicable to the final LE statistic. Added pops_used and dths_used columns to output when type = 'full' which reflect the cumulative populations and deaths used in each LE calculation (ie the pops and deaths for all ages equal to or above the Life_Expectancy_At age)

PHEindicatormethods v1.3.0

PHEindicatormethods v1.2.0

The following changes may affect backwards compatibility with earlier versions of the package:

The following changes will not affect backwards compatibility with earlier versions of the package:

PHEindicatormethods v1.1.5

phe_sii function updated to be compatible with nest and unnest functions from tidyr version 1.0

PHEindicatormethods v1.1.4

No significant changes. Removed confusing line of commented out code from phe_life_expectancy calculation Amended vignette title

PHEindicatormethods v1.1.3

Minor amendments to package testing scripts to work on platforms using clang as compiler. Updates will not affect end users using other platforms.

PHEindicatormethods v1.1.2

Minor amendments to package testing scripts to work on platforms using clang as compiler. Updates will not affect end users using other platforms.

PHEindicatormethods v1.1.1

The following changes may affect backwards compatibility with earlier versions of the package:

The following changes will not affect backwards compatibility with earlier versions of the package:

PHEindicatormethods V1.0.8

This is the first release of this package to CRAN



publichealthengland/PHEindicatormethods documentation built on Dec. 15, 2024, 3:18 p.m.