list_fields | R Documentation |
This function queries REST Countries API and returns a list of all possible fields that can be used in the function country_info
.
NOTE: Internet access is needed to download information from the API.
list_fields()
A vector of accepted fields for the function country_info()
country_info
# Run example only if a connection to the API is available
if (check_countries_api(warnings = FALSE)){
list_fields()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.