Recent Releases of pheindicatormethods
pheindicatormethods - PHEindicatormethods v2.0.2
- Amended phe_quantile function so it will not produce quantiles when the number of small areas within a group is less than the number of quantiles requested. A warning will be generated when quantiles cannot be produced for this reason.
- removed the highergeog argument from phe_quantile function, previously soft-deprecated in v1.2.0.
- phe_sii amended to allow data to be transformed prior to calculation of the SII, and to allow the intercept value to be output.
- R
Published by PHEgeorginaanderson about 2 years ago
pheindicatormethods - PHEindicatormethods v2.0.1
The calculateISRate and calculateISRatio functions have been updated so observed events can be passed as a total without age breakdowns. GitHub referencing has been amended throughout the package documentation as code repository now owned and hosted by UKHSA-collaboration not PublicHealthEngland
- R
Published by PHEgeorginaanderson about 2 years ago
pheindicatormethods - PHEindicatormethods v2.0.0
phesmr and pheisr have been permanently removed following soft deprecation in summer 2022. These functions have been directly replaced by calculateISRAte and calculateISRatio respectively. The renaming was necessary due to ambiguous terminology.
Package also updated for compatability with dplyr v1.1.0 and also adds the option of NA to the confidence argument for the phe_proportion function.
- R
Published by PHEgeorginaanderson about 3 years ago
pheindicatormethods - PHEindicatormethods v1.3.2
Minor updates to ensure grouping sets remain unchanged on function outputs. Making use of the new .groups argument available for the dplyr::summarise function in dplyr v1.0.0.
- R
Published by PHEgeorginaanderson over 5 years ago
pheindicatormethods - PHEindicatormethods v1.3.1
Amendments for compatability with dplyr v 1.0.0 due for release 01/05/2020 and amendments to output of death and population counts for life expectancy function.
- R
Published by PHEgeorginaanderson almost 6 years ago
pheindicatormethods - PHEindicatormethods v1.3.0
- R
Published by PHEgeorginaanderson almost 6 years ago
pheindicatormethods - PHEindicatormethods v1.2.0
- R
Published by PHEgeorginaanderson about 6 years ago
pheindicatormethods - PHEindicatormethods v1.1.5
phe_sii function code updated to ensure continued compatibility with tidyr following breaking changes in tidyr release version 1.0
- R
Published by PHEgeorginaanderson over 6 years ago
pheindicatormethods - PHEindicatormethods v1.1.3
Minor amendments to package testing scripts. Updates will not affect end users.
- R
Published by PHEgeorginaanderson over 6 years ago
pheindicatormethods - PHEindicatormethods v1.1.2
Minor amendments to package testing scripts. Updates will not affect end users.
- R
Published by PHEgeorginaanderson almost 7 years ago
pheindicatormethods - PHEindicatormethods v1.1.1
The following changes may affect backwards compatibility with earlier versions of the package:
phe_proportion: Replaced logical PERCENTAGE argument with a numeric MULTIPLIER argument to enable proportions to be expressed more flexibly (eg per 1000). Default is now multiplier = 1 which gives equivalent output to the previous default of percentage = FALSE. There is loss of backwards compatibility where the percentage argument has previously been specified in the function call - please replace 'percentage=TRUE' with 'multiplier=100' and 'percentage=FALSE' with 'multiplier=1'.
all functions using the TYPE argument: Altered the default value for the TYPE argument from 'standard' to 'full'. This may affect backwards compatibility with earlier versions of the package - where type has not been specified output will now contain additional metadata columns - to remove these please specify type = "standard" as a function argument.
byars_lower(),byars_upper(),wilson_lower()andwilson_upper()functions have been moved to the package utilities and are less readily available to be used as stand-alone functions within the package. These functions are intended to be called using other 'phe-' prefixed package functions.
The following changes will not affect backwards compatibility with earlier versions of the package:
phe_life_expectancy()function added for calculation of life expectancy at different ages based on population and death dataphe_quantile()function added for assigning data to quantilesphe_sii()function added for calculation of slope index of inequality and relative index of inequalityphe_proportion()andphe_rate()functions now return aggregate data when grouped data is passedAltered handling of NA values in
phe_proportion(),phe_rate()andphe_mean()functions to enable results to be returned for the records which do not contain invalid NAsAltered handling of NA values in
phe_dsr()function such that NA values in the age-specific count data are assumed to be equal to zero and no longer cause the function to errorAltered handling of NA values in
phe_isr()andphe_smr()functions such that NA values in the age-specific count, age-specific population and/or reference count data are assumed to be equal to zero and no longer cause the functions to error
- R
Published by PHEgeorginaanderson almost 7 years ago
pheindicatormethods - PHEindicatormethods v1.0.8
This is the first public release of the PHEindicatormethods package. Use this package to calculate common Public Health statistics and their confidence intervals using methods recommended by Public Health England for the production of Public Health indicators.
- R
Published by PHEgeorginaanderson over 7 years ago