powered by
Convert country names to echarts format.
e_country_names(data, input, output, type = "iso2c", ...)
Data.frame in which to find column names.
Input and output columns.
Passed to countrycode origin parameter.
origin
Any other parameter to pass to countrycode.
Taiwan and Hong Kong cannot be plotted.
# NOT RUN { cns <- data.frame(country = c("US", "BE")) # replace cns %>% e_country_names(country) # specify output cns %>% e_country_names(country, country.name) # }
Run the code above in your browser using DataLab