getHFCcountries: getHFCcountries a function to grab all present country codes...

View source: R/HFDutils.R

getHFCcountriesR Documentation

getHFCcountries a function to grab all present country codes used in the Human Fertility Collection

Description

The function returns a list of population codes used in the Human Fertility Collection (HFC). Optionally, it also can return a data.frame with both the full population name and short code.

Usage

getHFCcountries(names = FALSE)

Arguments

names

logical. Default FALSE Should a data.frame matching full country names to short codes be given?

Value

either a character vector of short codes (default) or a data.frame of country names and codes.

Examples

## Not run: 
getHFCcountries()
getHFCcountries(names = TRUE)

## End(Not run)

HMDHFDplus documentation built on July 9, 2023, 6:26 p.m.