e_country_names | R Documentation |
Convert country names to echarts format.
e_country_names(data, input, output, type = "iso2c", ...)
e_country_names_(data, input, output = NULL, type = "iso2c", ...)
data |
Data.frame in which to find column names. |
input, output |
Input and output columns. |
type |
Passed to countrycode |
... |
Any other parameter to pass to countrycode. |
Taiwan and Hong Kong cannot be plotted.
cns <- data.frame(country = c("US", "BE"))
# replace
e_country_names(cns, country)
# specify output
e_country_names(cns, country, country_name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.