fillCountryCode: A function to get country code when not available in data.

Description Usage Arguments

View source: R/fillCountryCode.R

Description

This function can be useful when a dataset provided does not have a country code available.

Usage

1
fillCountryCode(country, data, outCode = "FAOST_CODE")

Arguments

country

The column name of the data which contains the country name

data

The data frame to be matched

outCode

The output country code system, defaulted to FAO standard.


FAOSTAT documentation built on May 19, 2017, 7:59 a.m.

Search within the FAOSTAT package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.