##' Get All Countries
##'
##' This function pulls all the countries in M49 code.
##'
##' @export
##'
getAllCountries = function(){
GetCodeList(domain = "agriculture",
dataset = "aproduction",
dimension = "geographicAreaM49")[type == "country", code]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.