knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

whoville

R build status

The goal of whoville is to provide a package country reference data published by the World Health Organization, United Nations and World Bank easily accessible in R. At the moment, this is a reference dataset and set of functions to work with country codes and names, allowing easy conversion between names and codes as well as easy access to region codes, WHO member status, and other published country metadata. This is used to assist the work of the WHO's Division of Data, Analytics, and Delivery for Impact's Global Programme of Work 13.

Functions

Some functions are built to help you turn names or country codes into ISO3 codes:

Other functions encourage a tidy R workflow where ISO3 codes are used as the unique identifier for each country:

All of these functions are built on top of the countries data frame also exported with the package and developed off of public datasets provided by the World Health Organization and United Nations. Details available through ?countries.

Installation

You can install whoville from Github with:

devtools::install_github("gpw13/whoville")

Usage




caldwellst/whotilities documentation built on Aug. 30, 2022, 2:15 a.m.