countryCodeList <- function() {
### https://github.com/apilayer/restcountries
res <- readLines("https://restcountries.eu/rest/v2/all",
warn=FALSE);
res <- fromJSON(res);
return(res$alpha2Code);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.