getHFCcountries {HMDHFDplus} | R 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 |
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)
[Package HMDHFDplus version 2.0.3 Index]