cumulative_risk_ratio() and
cumulative_risk_difference() accept the reference’s own age
groups (ageg.ref)
age_standardized_incidence_rates(),
standardized_incidence_rate_ratio() and
standardized_incidence_rate_difference() can be restricted
to an age window (ageg, age.min,
age.max)
cumulative risk (cr, crr, crd) in the summary file, ages 20-74 by
default (cr.age.min, cr.age.max)
warn (and log) when the summary file’s asir leaves out age groups without person-years
diagnose_input_file() reports the age groups with
cases but no person-years
the reports show the cumulative risk (cr, crr, crd)
age-standardised indices (asir, asirr, asird) use Poisson
confidence intervals; the 3.0.0 ones remain available with
ci.method = 'legacy'
remove the epitools and plyr dependencies
stop when an input-file column does not match the template (e.g. a misspelled header)
colorectal cancer is colon + rectum in
globocan.2022.eu
cirr, cird and asirr keep their estimate below
ncan.min, only the confidence interval is masked (as for
the other indices)
new ref argument in
create_canradar_summary_file(): only the registry reference
is written by default
new cumulative_risk(),
cumulative_risk_ratio() and
cumulative_risk_difference()
diagnose_input_file() and
create_canradar_summary_file() check the plausibility of
the input data (warnings, stop on errors)
censored values (below ncan.min /
py.min) are marked (‘< 5’, ‘censored’) and no longer
look like missing data; the rate functions and the readers return a
censored column
new read_cancerradar_data_info(): country, registry,
period and settings of a file
create_canradar_summary_file() and
create_registry_input_file() work without
library(cancerradarr) (datasets not found)
age groups without person-years no longer stop the custom age-group aggregation
faster create_canradar_summary_file()
remove the missing cob counts from migrant population
add some statistics to describe the proportion of missing, MV and DCO
add source of data info in the input file
wrap-up all summary statistics calculation within functions to enhance maintainability
enable testthat feature to compute code coverage
enable custom age group aggregation
add globocan national and EU27 as reference
devel dynamic reporting function
use all UN countries as valid input + undocumented and unknown county of birth
use all migrants and burden per sex and cancer type to produce as category
Added a NEWS.md file to track changes to the
package.
add example data set to use in documentation
add CI script for package automatic compilation
draft README