country.data | R Documentation |
Get Country Data
country.data(columns = NULL, countries = NULL, list = FALSE)
columns |
Columns to return (NULL returns all) |
countries |
Which countries to return (list of ISO codes) |
list |
Return a vector with all possible columns? This file provides data on countries, updated regularly. If list = TRUE, other parameters will be overridden and it will return a list of columns. Otherwise it will return a data frame that includes the selected countries and columns. |
# All country data
mc <- country.data()
country.data("country", "DEU")
country.data(c("country", "region"), c("DEU", "USA", "BRA", "ZAF"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.