Software Open Access
Sam Abbott; Arfon Smith
getTBinR 0.6.0 Feature updates
summarise_metricfunction to the package. This function was previously used internally by the TB report. For a given year it returns the value of given metric, along with the regional and global rankings. The average change over the last decade is also supplied. Linked to #57.
search_data_dictcan now be used to search for a dataset by name. All variables in this dataset are then returned.
available_datasets, that lists the datasets available to be imported into R using the package. This dataframe also gives a short description of each dataset, details the timespan of the dataset, and whether or not it is downloaded by default. Used by
get_tb_burdenas a URL source for downloading the datasets. Linked to #58.
get_tb_burdencan now import additional datasets (listed in
available_datasets), clean them, and then link them with the core dataset. This adds over 400 new variables to the package and provides a near complete list of data used in the WHO Tuberculosis global report. Please open an issue if you find an issue with this dataset.
0.6.0to signal a major release.
getTBinRand also added this information to the README.
search_data_dicthas improved messaging and no longer returns an error when nothing is found in the data dictionary. From #65.
search_data_dicthas expanded testing to account for new dataset searching and for failing to find results. Linked to #60.
dplyr::funsas soft deprecated.
summarise_metricand added to documentation.
available_datasetsand new data import to the README and to the getting started vignette.
usethis::use_tidy_descriptionto improve DESCRIPTION formatting.
usethis::use_tidy_versions()to set package to dependent on package versions used during development work. Added this to makefile to make automated.
Makefileuse with `make message="your commit message". This will automatically run all build steps that are required and then commit any changes.