getTBinR 0.5.8 Unreleased

Feature updates

Package updates

  • Added package information to license file - suggested during review for JOSS submission by @rrrlw.
  • Improved package DESCRIPTION for CRAN only users - suggested during review for JOSS submission by rrrlw.
  • Added development documentation badge to the README + website.
  • Moved to automated pkgdown deployment using travis. Based on this and the dplyr implementation.
  • Expanded travis testing grid based on dplyr implementation.
  • Updated earliest supported R version based on travis testing - now 3.1.2.
  • Used usethis::use_tidy_versions() to set package to dependent on package versions used during development work. Added this to makefile to make automated.

getTBinR 0.5.7 2019-01-23

Feature updates

  • Added support for annual_change to summarise_tb_burden and added validating tests.
  • Added support for rates and proportions to summarise_tb_burden and added validating tests.
  • Added a new function - plot_tb_burden_summary. Function wraps summarise_tb_burden and allows all in one summary plotting. Inspired by this case study.
  • Added a rmarkdown parameterised country level report on TB.
  • Added a report generating button to the dashboard generated by run_tb_dashboard.
  • Added render_country_report to generate a TB report for a given country.
  • Tweaked map_tb_burden to not use geom_path for country outlines.
  • Added a smooth argument to plot_tb_burden to allow smooth trend lines to be plotted (derived using ggplot2::geom_smooth).
  • Tweaked line thickness in plot_tb_burden to improve plot appearance.
  • Added legend argument to all plotting functions to allow control of the legend appearance.

Package updates

  • Added script to generate hexsticker
  • Added hexsticker to README
  • Added DOI link to Zenodo.
  • Updated tests to account for dplyr 8.0 release and vdiffr updates.
  • Added itdepends to package report functionality.

getTBinR 0.5.6 2018-11-15

Feature updates

  • No new features in this release

Package updates

  • Updated custom legend setting in map_tb_burden to work with new version of rlang.
  • Updated map_tb_burden tests to work with new version of R lang.
  • Added dev to pkgdown site yml for docs prior to release.

getTBinR 0.5.5 2018-09-28

Feature updates

  • Added a years filter to plot_tb_burden and plot_tb_burden_overview. This allows a range of years to be plotted. The default is all years which was the previous de facto default.

Package updates

  • Updated docs to reflect new year of data.
  • Updated examples to use the new year of data as standard.
  • Updated README to always use the current year of data.
  • Updated all vignettes to reflect new data or be fixed to historic data as appropriate.
  • Update site with links out to blog posts using the newest version of pkgdown.

getTBinR 0.5.4 2018-05-16

Feature updates

  • Added MDR-TB data for 2016, see here for the dataset. The MDR-TB data is automatically joined to the WHO TB burden data.
  • Aesthetic updates to map_tb_burden.
  • Added new summarise_tb_burden function for summarising metrics across regions, across custom groups and globally.

Package updates

  • Improved data cleaning, converting Inf and NaN values to NA when the data is read in.
  • Added pgknet report.
  • Improved test robustness and scope
  • Added vdiffr to test plots when not on CRAN.
  • Fixed bug for map_tb_burden which was adding duplicate variables which caused map build to fail.

getTBinR 0.5.3 2018-03-10

Feature updates

  • Added viridis_palette option to all plotting functions to allow the colour scheme to be set by the user.
  • Added ability to handle categories in the legend for map_tb_burden
  • Added new case study exploring case fatality rates.

Package updates

  • Added improved tests in response to WHO data updates. See here
  • Added an additional method for downloading data in response to test failures on CRAN. See here
  • Added skip on CRAN for data backend related tests.
  • Added Makefile at top level and for data-raw to build the package.

getTBinR 0.5.2 2018-02-13

Feature updates

  • Improved plotly tool tips in all interactive plots.
  • Added option to pass multiple years for interactive maps using the built in plotly frame functionality.

Package updates

  • Added retry download option to deal with possible API rate limits in response to this issue.
  • Added downloads badge to readme.

getTBinR 0.5.1 2018-01-26

Feature updates

  • Added annual_change argument to all plotting/mapping functions. Passed to prepare_df_plot. Returns the percentage annual change for the supplied metric.
  • Added trans argument to all plotting functions to allow scaling using any ggplot2::continous_scale trans argument.
  • Added adaptive axis and legend labels to properly show annual percentage change.
  • Added run_tb_dashboard to launch a shiny dashboard for exploring global tuberculosis
  • Changed function defaults so that data is automatically downloaded and saved into the temporary directory when get_data functions are called.

Package updates

  • Added new examples to display new functionality
  • Updated readme with new functionality
  • Updated intro vignette with new functionality
  • Added a new case studies vignette section
  • Added a case study exploring global trends in Tuberculosis incidence rates
  • Added a work around using utils::read.csv for downloading the data when fread::data.table fails. Related to this issue.

getTBinR 0.5.0 2018-01-05

Feature updates

  • Added download_data argument to all functions to make downloading data explicit.
  • Added save argument to all functions to make saving the data explicit.
  • Added save_name and path arguments to all functions to make location of saving explicit.

Package updates

  • Updated documentation to reflect above changes.
  • Updated tests to reflect changes.
  • Doc improvements ready for CRAN.
  • Switched Imported packages from github versions to CRAN versions.
  • Switched to saving data only to temporary directory (tempdir())

getTBinR 0.1.0 Unreleased

Feature updates

  • Added map_tb_burden function to map TB metrics.

Package updates

  • Added a NEWS.md file to track changes to the package.

getTBinR 0.0.5 Unreleased

Feature updates

  • Added plot_tb_burden_overview function to plot an overview of the TB burden.

Package updates

  • Updated the package site.
  • Refactored plotting code.

getTBinR 0.0.1 Unreleased

Feature updates

  • Added plot_tb_burden function to plot TB burden

Package updates

  • Set up package infractstructure